[Buildroot] [PATCH 1/2] Makefile: use root-relative -f path for /sbin/ldconfig
Bjørn Forsman
bjorn.forsman at gmail.com
Fri Oct 23 12:06:10 UTC 2015
Hi Thomas,
On 23 October 2015 at 10:26, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Dear Bjørn Forsman,
>
> On Fri, 23 Oct 2015 09:12:02 +0200, Bjørn Forsman wrote:
>
>> If you want to completely remove use of (host) /sbin/ldconfig, that's fine too.
>>
>> Just tell me what to do :-)
>
> We need to completely remove the ldconfig stuff, since it simply cannot
> work. However, there is at least one package (mysql) that installs
> libraries in a non-standard location (/usr/lib/mysql) and relies on
> ld.so.conf for the dynamic linker to find them. I believe we need to
> fix MySQL so that it installs its libraries in /usr/lib, and then get
> rid of all the ldconfig/ld.so.conf stuff.
>
> Or, alternatively, see how to get it working with an init script which
> runs ldconfig at boot time. But then you have to look at how uClibc and
> musl handle this, and implement a solution that works for all three C
> libraries.
Sounds like a bigger task than I planned... :-/ (I'm afraid to break things.)
Would it be possible to merge "[PATCH 2/2] Makefile: add -C flag for
/sbin/ldconfig" as a stop-gap fix for my build problem then?
- Bjørn
More information about the buildroot
mailing list