This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
Re: Dynamic executable
- To: glibc2 <glibc-linux at ricardo dot ecn dot wfu dot edu>
- Subject: Re: Dynamic executable
- From: Allin Cottrell <cottrell at wfu dot edu>
- Date: Wed, 19 Sep 2001 08:48:58 -0400 (EDT)
- Reply-To: glibc-linux at ricardo dot ecn dot wfu dot edu
On Wed, 19 Sep 2001, Felix Gomera wrote:
> What causes the compiler to produce non dynamic executables? I
> installed glibc2 with --prefix=/usr and after that, when I compile
> a file and then run "ldd a.out", this message is displayed, "not a
> dynamic executable".
Probably libc.so is not being found, in which case the glibc
installation went wrong. You should have /usr/lib/libc.so
which is a script that reads as follows:
/* GNU ld script
Use the shared library, but some functions are only in
the static library, so try that secondarily. */
GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a )
Allin Cottrell.