On Fri, 2012-03-23 at 16:32 +0800, Ni Qingliang wrote: > Hello, > > I have made some progress after struggled a few days on it. found that > the reason is located in the 'ld'. > following is my investigation (focused on the IMPLICIT depended > library): > > 1. call ld with sysroot and rpath > $ld --sysroot=/media/pangu/lsbt/tmp/sysroots/qemux86-64 ... > -rpath /usr/lib/../lib > > then it will find the lib needed in the host's rootfs, that will result > error. > > 2. call ld with sysroot and without rpath > $ld --sysroot=/media/pangu/lsbt/tmp/sysroots/qemux86-64 ... > > then it will find the lib needed in the directory sysroot arg specified. > that is expected. > > I found that using the --verbose argument. Is the behaviour expected? or > a bug?
That behaviour is expected. You should not be passing rpath /usr/lib options to ld. Cheers, Richard _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core