This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Dynamic executable


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]