[LEDE-DEV] [PATCH 0/3] Support for ldconfig on the target

Felix Fietkau nbd at nbd.name
Wed Sep 21 12:48:22 PDT 2016


On 2016-09-21 20:13, Florian Fainelli wrote:
> This patch series adds support for generating valid ld.so.cache which match the
> target architecture, without requiring a cross-compiled version of ldconfig
> that would run on the host, nor run on the target.
> 
> Having a proper ld.so.cache might be needed if e.g: 64-bit executable loader
> only has /lib64 in its default search path.
Can't we simply fix the default search path instead?
Or is this a workaround for dealing with external toolchain braindamage?

> At some point, we should probably think about how we want to structure the
> rootfs in OpenWrt/LEDE wrt. 32-bit/64-bit libraries but that set of changes is
> orthogonal and can be useful on its own.
What do we need that for?

- Felix



More information about the Lede-dev mailing list