This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: FreeBSD port (36): config support
- From: Roland McGrath <roland at redhat dot com>
- To: Bruno Haible <bruno at clisp dot org>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Fri, 6 Sep 2002 12:25:37 -0700
- Subject: Re: FreeBSD port (36): config support
- References: <15662.49137.557061.865917@honolulu.ilog.fr> <200208261153.g7QBreh21854@dhcp187.sf.frob.com> <15722.18436.297930.890746@honolulu.ilog.fr> <20020827001808.E15192@dhcp187.sf.frob.com> <15735.18772.265130.987836@honolulu.ilog.fr>
> I want glibc to coexist with FreeBSD libc, assuming they are installed in
> different directories. For the moment I assume the user will be responsible
> for not mixing libraries of the two universes in the same directory, and
> for using LD_LIBRARY_PATH with moderation.
[...]
> Both native FreeBSD libraries and glibc-linked libraries have the same ELF
> headers; the distinction will therefore come from the libc.so that a library
> is linked with, like it was done to distinguish libc.so.5 and libc.so.6 on
> Linux/{i386,m68k} a few years ago.
If you are using /usr/libexec/ld-elf.so.1 as the program interpreter name
then it seems ill-advised to use a soname that is likely to one day
conflict with the native FreeBSD libc's soname. When FreeBSD reaches
libc.so.6, then your scheme for distinguishing native and glibc soname
dependencies will break down.