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

Re: Question about your new upload of libg++



Guy Maor <maor@ece.utexas.edu> writes:

> $ LD_LIBRARY_PATH=/usr/lib ldd ./dummy
>         libpthread.so.0 => /usr/lib/libpthread.so.0 (0x4000c000)
>         libg++.so.2.7.2 => /usr/lib/libg++.so.2.7.2 (0x4001b000)
>         libstdc++.so.2.7.2 => /usr/lib/libstdc++.so.2.7.2 (0x40053000)
>         libm.so.6 => /lib/libm.so.6 (0x40093000)
>         libc.so.6 => /lib/libc.so.6 (0x400ac000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> $ LD_LIBRARY_PATH=/usr/lib ./dummy
> <uninitialized>

Looks the same to me, but I'll post it in case I missed something
important.

$ ldd ./dummy
  libpthread.so.0 => /lib/libpthread.so.0 (0x40010000)
  libg++.so.2.7.2 => /usr/lib/libg++.so.2.7.2 (0x4001b000)
  libstdc++.so.2.7.2 => /usr/lib/libstdc++.so.2.7.2 (0x40053000)
  libm.so.6 => /lib/libm.so.6 (0x40090000)
  libc.so.6 => /lib/libc.so.6 (0x400a9000)
  /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) 
$ ./dummy
<uninitialized>
Segmentation fault

> Check the binary with ldd.  Do you have local libs that it's linking
> with?

Don't think so, but is there anything other than ldd's output that I
should be checking.

> Try -static also.

Works fine.  Does this help determine what it is?

Thanks

-- 
Rob Browning <rlb@cs.utexas.edu>
PGP fingerprint = E8 0E 0D 04 F5 21 A0 94  53 2B 97 F5 D6 4E 39 30


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: