[Buildroot] [PATCH 1/2] Makefile: use root-relative -f path for /sbin/ldconfig

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Dec 29 20:32:16 UTC 2015


Bjørn,

On Thu, 22 Oct 2015 10:22:30 +0200, Bjørn Forsman wrote:

> $(TARGET_CROSS)ldconfig behaves differently (at least the ldconfig I
> tested, which was built by Buildroot) and should not have root-relative
> -f path. If it does, it will pick up host /etc/ld.so.conf file.
> 
> Signed-off-by: Bjørn Forsman <bjorn.forsman at gmail.com>
> ---
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

As we discussed previously, our ldconfig handling is broken. So we are
simply planning to remove entirely. I have just posted a patch to this
effect:

	https://patchwork.ozlabs.org/patch/561618/

The idea is that from now on, packages are expected to install
libraries in path that are in the default search path of the dynamic
linker.

Consequently, I've marked your patches as Superseded. If you find any
package that doesn't work properly following our ldconfig removal, do
not hesitate to let us know.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list