Bug#435382: libc6: ld-linux.so segfault.
On Tue, Jul 31, 2007 at 05:49:30PM +0400, Sergei Organov wrote:
> I don't believe it's OK to close this bug due to the following reasons:
>
> 1. It does work with /usr/lib/debug version of gtk-1.2 libraries (when
> application is linked against gtk-1.2 instead of gtk-2.0).
>
> 2. It does work with /usr/lib/debug version of libc6 libraries.
>
> 3. Package description of libgtk2.0-0-dbg (2.8.20-7) suggests using
> LD_LIBRARY_PATH:
>
> "... The libraries are installed in /usr/lib/debug and can be used by
> placing that directory in LD_LIBRARY_PATH. ..."
>
> 4. Probably ld-linux.so itself should not segfault no matter what.
You're both right (or both wrong if you prefer :-)
You did:
$ LD_LIBRARY_PATH=/usr/lib/debug:/usr/lib/debug/lib:/usr/lib/debug/usr/lib
Don't do that. The things in /usr/lib/debug are real libraries, and
should be used through LD_LIBRARY_PATH. The things in
/usr/lib/debug/lib and /usr/lib/debug/usr/lib are not real libraries,
and GDB will load them automatically during debugging.
--
Daniel Jacobowitz
CodeSourcery
Reply to: