<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi openembedded users!<br>
<br>
I'm new to OE and the list. I hope this question is appropriate for this forum and that someone can spare some time to help.<br>
<br>
I'm already successfully building working FS images for my project.<br>
Based on the OE user manual I created recipes for building an SDK - this also builds fine.<br>
However when trying to compile code using GCC there is some missing dependencies, e.g.:<br>
<br>
/usr/local/tp/powerpc/libexec/gcc/powerpc-tp-linux/4.3.3/cc1: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: No such file or directory<br>
<br>
$ ldd /usr/local/tp/powerpc/libexec/gcc/powerpc-tp-linux/4.3.3/cc1<br>
linux-vdso.so.1 => (0x00007fffee171000)<br>
libmpfr.so.4 => not found<br>
libgmp.so.10 => not found<br>
libc.so.6 => /lib/libc.so.6 (0x00007f402c71b000)<br>
/lib64/ld-linux-x86-64.so.2 (0x00007f402cabe000)<br>
<br>
I'm running Ubuntu 10.4 and the missing libraries are there but in older versions.<br>
<br>
The generated SDK contains the libraries in the correct versions but for the target architecture under /usr/local/tp/powerpc/powerpc-tp-linux/usr/lib/.<br>
<br>
If I dig into the OE build directories I find the files I need under .../build/tmp-tp/sysroots/x86_64-linux/usr/lib/. If I copy these to the proper location, the build works as it should.<br>
<br>
(Sorry for the long introduction, here comes the actual question)<br>
<br>
I like to make OE include these libraries in the generated SDK but I'm sort of clue-less. Could anyone please point me off in the right direction on how to make this happen?<br>
<br>
(Currently using Bitbake-1.8.18 and OE release-2010.12)<br>
<br>
Best regards,<br>
Mats<br>
<br>
</div>
</body>
</html>