[OE-core] gconf build error

Richard Purdie richard.purdie at linuxfoundation.org
Fri Mar 23 09:30:11 UTC 2012


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





More information about the Openembedded-core mailing list