[oe] remove ld.so.conf from glibc?

Khem Raj raj.khem at gmail.com
Fri Oct 17 19:48:26 UTC 2008


On Fri, Oct 17, 2008 at 12:30 PM, Phil Blundell <pb at reciva.com> wrote:
> At present, the main glibc package (libc6 in most DISTROs) is shipping
> an /etc/ld.so.conf file which mentions /usr/local/lib
> and /usr/X11R6/lib.  I think it has basically been this way for all
> time, and I suspect the original file was probably imported from Chris's
> openzaurus installation way back when.
>
> As far as I can tell, this file is not serving any useful purpose on any
> contemporary DISTRO.  On the contrary, aside from contributing to
> filesystem clutter, its only real effect will be to slow down shared
> library loading.  So, I would propose to delete it from the libc6
> package.  Any DISTRO which does need this file can, of course, ship it
> in a separate package of their own.


I would say we fix it. Logically this file could belong to libc as it
is. but we edit it and make it load
sub conf files which are owned by different packages and it there is
none then it loads nothing. This is how it is on ubuntu and fedora.

$ cat /etc/ld.so.conf
include ld.so.conf.d/*.conf

any package can have there own .conf file which can be installed in

/etc/ld.so.conf.d/

/etc/ld.so.conf and /etc/ld.so.conf.d/ are packaged as part of libc

Thx

-Khem




More information about the Openembedded-devel mailing list