Changes between Version 120 and Version 121 of Building_SHR_old


Ignore:
Timestamp:
Dec 5, 2011, 10:53:59 AM (6 years ago)
Author:
jama
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building_SHR_old

    v120 v121  
    515515but you can have more stuff there..
    516516
     517==== libstdc++.so.6 issues ====
     518If you see something like
     519{{{
     520| gperf: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
     521}}}
     522or similar from cmake apod, try
     523{{{
     524OE @ ~ $ ldd shr-core/tmp/sysroots/x86_64-linux/usr/bin/cmake
     525        linux-vdso.so.1 =>  (0x00007fff28bff000)
     526        libdl.so.2 => /lib64/libdl.so.2 (0x00007f4f4b8ed000)
     527        libstdc++.so.6 => not found
     528        libm.so.6 => /lib64/libm.so.6 (0x00007f4f4b66b000)
     529        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f4f4b455000)
     530        libc.so.6 => /lib64/libc.so.6 (0x00007f4f4b0ca000)
     531        /lib64/ld-linux-x86-64.so.2 (0x00007f4f4baf1000)
     532OE @ ~ $ touch /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/libstdc++.so.6
     533OE @ ~ $ /sbin/ldconfig
     534OE @ ~ $ ldd shr-core/tmp/sysroots/x86_64-linux/usr/bin/cmakec++.so.6
     535        linux-vdso.so.1 =>  (0x00007fffb09ff000)
     536        libdl.so.2 => /lib64/libdl.so.2 (0x00007fe92416f000)
     537        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/libstdc++.so.6 (0x00007fe923e37000)
     538        libm.so.6 => /lib64/libm.so.6 (0x00007fe923bb5000)
     539        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fe92399f000)
     540        libc.so.6 => /lib64/libc.so.6 (0x00007fe923614000)
     541        /lib64/ld-linux-x86-64.so.2 (0x00007fe924373000)
     542}}}
     543
     544It happens when you build from scratch, some recipe build is messing with system's /etc/ld.so.cache and because with shr-chroot this file is owned by same user as user running builds (bitbake) then it succeeds.
     545
    517546=== Obsolete Troubleshouting ===
    518547==== eve ====