Am I in the right place?
dave at overbearing.org
Tue Aug 24 23:19:32 PDT 2004
Dear David Douthitt,
I have a question about this. I see in the uclibc differences file:
6) uClibc does not support NSS (/lib/libnss_*), which allows glibc to easily
support various methods of authentication and DNS resolution. uClibc only
supports flat password files and shadow password files for storing
Do I understand you to mean that network code such as wget will fail under uclibc even if compiled staticly?
On Wed, 25 Aug 2004, David Douthitt wrote:
> Date: Wed, 25 Aug 2004 01:05:04 -0500
> From: David Douthitt <ssrat at mailbag.com>
> Reply-To: LFS Support List <lfs-support at linuxfromscratch.org>
> To: lfs-support at linuxfromscratch.org
> Newsgroups: lfs.support
> Subject: Re: Am I in the right place?
> Ed Leafe wrote:
> > I want to be able to distribute a self-contained binary. I'm
> > assuming that the target for this binary already has Linux, although it
> > might be a different distro than what I built the binary on.
> > To back up a bit, I'm creating a tool written in Python/wxPython,
> > and want users to be able to run it on their systems. I'm using the
> > cx_Freeze tool to build the executable file and grab all the dependent
> > libraries into a single folder that I can zip up and distribute. So far
> > this works well if the recipient has the same distro as I built it on
> > (FC2), but it fails on older distros, such as RH8, with an error message
> > like:
> > libdl.so.2: symbol _rtld_global_ro, version GLIBC_PRIVATE not defined in
> > file ld-linux.so.2 with link time reference
> One warning: with the latest version of glibc, a statically linked
> binary isn't really - and will STILL link dynamically against at least
> one library, in order to use the name service switch (NSS) functions.
> This manifests itself in calls to gethostbyname and similar functions
> being "externalized."
> This is the case for RHEL 3, and possibly FC1 and/or FC2.
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
More information about the lfs-support