[OE-core] [PATCH 1/2] ldconfig: add method to extend ldconfig search dirs

Phil Blundell pb at pbcl.net
Tue Dec 8 22:34:09 UTC 2015


On Tue, 2015-12-08 at 13:05 -0800, akuster wrote:
> This is for ldconfig-native. The homebrew OE created. It has hard coded
> search patches. So OE only supports the standard /usr/* /lib* paths in
> the native part of the build.

In that case, given that you're talking about image construction, isn't
the right thing to make ldconfig-native respect whatever search paths
it's given by /etc/ld.so.conf in the image filesystem?

> so its using the default in the native ldconfig:
> 
> #ifndef LD_SO_CONF
> # define LD_SO_CONF SYSCONFDIR "/ld.so.conf"
> #endif

I assume the point you're making here is that this ends up reading the
host's /etc/ld.so.conf, not the one in the image.  Is that right?

p.





More information about the Openembedded-core mailing list