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


On Fri, Mar 20, 2009 at 12:48 PM, Daniel De La Zerda
<ddelazerda007@yahoo.com> wrote:
>
> I don't think that debugging will help. When I run /bin/ls I get a segmentation fault as well, but when I run /bin/cat I don't get the segmentation fault and it works as expected. I think I can't just include the original "/lib/libgcc_s.so.1" that is installed in my system into my new glibc tree. I'm not an expert but I think I have to get one that is built with my own glibc, but I dont know how. Does anybody know?

The segmentation fault when running /bin/ls is a symptom of trying to
use LD_LIBRARY_PATH when the path you specify doesn't have  a complete
set of libraries.  Personally I rarely ever use LD_LIBRARY_PATH.  The
loader can't find the libraries it needs.

Libgcc_s.so.1 is built by GCC.  That's outside the scope of this list.

Ryan


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