[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#224419: still seeing it



On Thu, Jan 08, 2004 at 03:17:56PM +0100, Miek Gieben wrote:
> [On 08 Jan, @15:07, Daniel wrote in "Re: still seeing it ..."]
> > On Thu, Jan 08, 2004 at 12:16:24PM +0100, Miek Gieben wrote:
> > > Hello,
> > > 
> > > well, I really don't know it sometimes did work, but i'm getting
> > > the same error again.
> > > 
> > > Here is trace of it: 
> > > (Below is a trace with the LD_LIBRARY_PATH=/lib, which solved it)
> > > 
> > > strace gcc -g -O2  -o nsd answer.o axfr.o dbaccess.o dname.o namedb.o nsd.o
> > > plugins.o query.o \
> > > rbtree.o region-allocator.o \
> > > server.o util.o b64_pton.o b64_ntop.o -lwrap -ldl
> > 
> > Stracing gcc doesn't tell me anything.  You need to strace the ld
> > process that it spawns.  Or use -Wl,-Map,foo.map to take a look at what
> > ld claims to open.
> 
> attached is foo.map of a failed compilation/linker

The map doesn't show which linker it was but...

> > Does objdump -T /lib/ld-linux.so.2  | grep dl_tls_symaddr show
> > anything?
> 
> # locate ld-linux.so
> /lib/ld-linux.so.2
> /lib/tls/ld-linux.so.2
> /usr/lib/ld-linux.so.2
> 
> # dpkg -S /usr/lib/ld-linux.so.2 
> dpkg: /usr/lib/ld-linux.so.2 not found.
> # ls -l /usr/lib/ld-linux.so.2 
> lrwxrwxrwx    1 root     root           11 Dec 10 11:46 /usr/lib/ld-linux.so.2 -> ld-2.3.2.so*

GRRRRRRR I really want to know what keeps introducing these!  I assume
/usr/lib/ld-2.3.2.so is a regular file and does not belong to any
package.  Remove it to fix the problem.  Remove /usr/lib copies of
libc, libm, et cetera also.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



Reply to: