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

Re: Help: Strange behaviour of ldd



On Wed, Jun 01, 2005 at 02:26:10PM +0200, Andreas Tille wrote:
> Hi,
> 
> I observed a strange problem when trying to sponsor the mummer package
> 
>      http://bioinformatics.pzr.uni-rostock.de/~moeller/debian/mummer
> 
> I reduced the problem to a quite basic one.  Just go to
> 
>      http://people.debian.org/~tille/tmp/test/
> 
> and download Makefile *.cc and *.hh (only 5 files) and try make.  This 
> builds
> two executables: annotate and gaps. Now try
> 
> $ ldd annotate gaps
> annotate:
>          not a dynamic executable
> gaps:
>                  libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb7f19000)
>          libm.so.6 => /lib/tls/libm.so.6 (0xb7ef6000)
>          libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x41312000)
>          libc.so.6 => /lib/tls/libc.so.6 (0xb7dc1000)
>          /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7fea000)
> 
> I'm no C++ expert but I really fail to see the difference which causes
> ldd to fail. Perhaps we should discuss this on debian-devel list.  I'm
> not sure whether such things might be caused by different libraries and
> you need to add a certain build dependency.
> 
At least on my ibook it cannot reproduce it.

steinm@ibook:/tmp$ ldd annotate gaps
annotate:
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x0ff27000)
        libm.so.6 => /lib/libm.so.6 (0x0fe92000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0fe64000)
        libc.so.6 => /lib/libc.so.6 (0x0fd05000)
        /lib/ld.so.1 => /lib/ld.so.1 (0x30000000)
gaps:
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x0ff27000)
        libm.so.6 => /lib/libm.so.6 (0x0fe92000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0fe64000)
        libc.so.6 => /lib/libc.so.6 (0x0fd05000)
        /lib/ld.so.1 => /lib/ld.so.1 (0x30000000)
steinm@ibook:/tmp$ gcc --version
gcc (GCC) 3.3.6 (Debian 1:3.3.6-5.0.1)
Copyright © 2003 Free Software Foundation, Inc.
Dies ist freie Software; die Kopierbedingungen stehen in den Quellen. Es
gibt KEINE Garantie; auch nicht für VERKAUFBARKEIT oder FÜR SPEZIELLE
ZWECKE.

steinm@ibook:/tmp$ ldd --version
ldd (GNU libc) 2.3.2
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
steinm@ibook:/tmp$ uname -a
Linux ibook 2.6.11-rc4 #2 Mon Feb 14 19:36:55 CET 2005 ppc GNU/Linux

-- 
  MMK GmbH, Universitaetsstr. 11, 58097 Hagen
  Uwe.Steinmann@mmk-hagen.de
  Tel: +2331 840446    Fax: +2331 843920

Attachment: signature.asc
Description: Digital signature


Reply to: