This is the mail archive of the libc-help@sourceware.org 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]
Other format: [Raw text]

Re: linker errors when compiling and linking with a new glibc


The first option doesn't work and neither does the second. With the second option, when I do an "rpm -ivh --prefix=<path to glibc build> <libgcc rpm>" I get the error saying that libgcc is not "relocateable". I also tried copying /lib/libgcc_s.so.1 to <glibc build path> and I keep getting the error that "libgcc_s.so.1 must be installed for pthread_cancel to work".



----- Original Message ----
From: Carlos O'Donell <carlos@systemhalted.org>
To: Daniel De La Zerda <danieldelazerda@gmail.com>
Cc: Ryan Arnold <ryan.arnold@gmail.com>; libc-help@sourceware.org; pasky@suse.cz
Sent: Wednesday, March 18, 2009 5:31:55 PM
Subject: Re: linker errors when compiling and linking with a new glibc

On Wed, Mar 18, 2009 at 4:58 PM, Daniel De La Zerda
<ddelazerda007@yahoo.com> wrote:
> I do have do have /lib/libgcc_s.so.1 but how do I point to it from my "glibc-2.4-build" tree (I'm making some modifications to glibc). I was able to compile my test for the new feature but when trying to run it I get that error. Also, doing a "make tests" inside my "glibc-2.4-build" tree fails on "tst-mutex8.c" for the same reason.

LD_LIBRARY_PATH=/lib/libgcc_s.so.1

or

IIRC, make sure that libgcc_s.so.1 is installed to the path you
specified in --prefix= when building glibc.

Cheers,
Carlos.



      


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