[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gdb 5.1 with shared libraries
From: |
Andrew Dixie |
Subject: |
Re: gdb 5.1 with shared libraries |
Date: |
6 Dec 2001 17:50:37 -0800 |
> > Problem 2 (Linux 2.4/libc 2.2.4/Debian Woody):
> > Symbol addresses from shared library are coming up as offsets from 0
> > rather than offsets from start of text segment.
I've tracked this problem down to an extra ':' in LD_LIBRARY_PATH.
echo $LD_LIBRARY_PATH
/home/oracle/OraHome1/lib::/home/oracle/OraHome1/rdbms/lib:/home/andrewd/test/gomic/engine:/home/andrewd/test/gomic/common
gdb is using this to pickup the libraries from the current directory
rather than the direct paths later down the list.