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: Problem in GNU ld


>>>>> Ednardo Lobo writes:

Ask the linker for more output, e.g. give -Wl,-v to the gcc command
line, and check how that file is searched.  Is your linker script
(/usr/lib/libc.so) correct?  See the glibc FAQ how it should look
like.

Andreas
 > Whe I compile a trivial C program source, the ld return the error message:
 > ld: can't open /mnt/hdb/usr/libc.so.6, no such file or directory
 > collect: ld exit returned 1 cod

 > Why it's search libc.so.6 in /mnt/hdb/usr/lib if the lib is placed in /lib/
 > ??

 > Thank's,

 > Ednardo Lobo


-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

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