[DebianGIS-dev] Bug#346467: marked as done (libgrass: undefined symbols from libm)

Debian Bug Tracking System owner at bugs.debian.org
Tue Jan 31 13:33:30 UTC 2006


Your message dated Tue, 31 Jan 2006 14:20:04 +0100
with message-id <20060131132004.GB4204 at mithrandir>
and subject line Bug#346467: [DebianGIS-dev] Bug#346467: libgrass: undefined symbols from libm
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 8 Jan 2006 08:17:16 +0000
>From bonnaud at lis.inpg.fr Sun Jan 08 00:17:16 2006
Return-path: <bonnaud at lis.inpg.fr>
Received: from bal.lis.inpg.fr ([195.220.21.15])
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1EvVjn-0001zo-SU
	for submit at bugs.debian.org; Sun, 08 Jan 2006 00:17:16 -0800
Received: from smtpc.lis.inpg.Fr (smtpc.lis.inpg.fr [195.220.21.17])
	by bal.lis.inpg.fr (Postfix) with ESMTP id 360633067C2;
	Sun,  8 Jan 2006 09:16:45 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by smtpc.lis.inpg.Fr (Postfix) with ESMTP id 240012C811F;
	Sun,  8 Jan 2006 09:16:45 +0100 (CET)
Received: from smtpc.lis.inpg.Fr ([127.0.0.1])
	by localhost (smtpc.lis.inpg.fr [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 14884-05; Sun, 8 Jan 2006 09:16:28 +0100 (CET)
Received: from irancy.lis.inpg.fr (irancy.lis.inpg.fr [195.220.21.167])
	by smtpc.lis.inpg.Fr (Postfix) with SMTP id BD7E12C811E;
	Sun,  8 Jan 2006 09:16:27 +0100 (CET)
Received: by irancy.lis.inpg.fr (sSMTP sendmail emulation); Sun,  8 Jan 2006 09:16:27 +0100
From: "Laurent Bonnaud" <bonnaud at lis.inpg.fr>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: libgrass: undefined symbols from libm
Message-ID: <20060108081627.26449.6722.reportbug at irancy.lis.inpg.fr>
X-Mailer: reportbug 3.18
Date: Sun, 08 Jan 2006 09:16:27 +0100
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at lis.inpg.fr
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: libgrass
Version: 6.0.1-1+b1
Severity: normal


Hi,

here is the problem:

$ ldd -r /usr/lib/grass/lib/libgrass_gis.6.0.1.so
undefined symbol: log   (/usr/lib/grass/lib/libgrass_gis.6.0.1.so)
undefined symbol: sqrt  (/usr/lib/grass/lib/libgrass_gis.6.0.1.so)
undefined symbol: ceil  (/usr/lib/grass/lib/libgrass_gis.6.0.1.so)
undefined symbol: floor (/usr/lib/grass/lib/libgrass_gis.6.0.1.so)
undefined symbol: cos   (/usr/lib/grass/lib/libgrass_gis.6.0.1.so)
undefined symbol: sin   (/usr/lib/grass/lib/libgrass_gis.6.0.1.so)
undefined symbol: atan2 (/usr/lib/grass/lib/libgrass_gis.6.0.1.so)
undefined symbol: exp   (/usr/lib/grass/lib/libgrass_gis.6.0.1.so)
undefined symbol: tan   (/usr/lib/grass/lib/libgrass_gis.6.0.1.so)
undefined symbol: atan  (/usr/lib/grass/lib/libgrass_gis.6.0.1.so)
undefined symbol: acos  (/usr/lib/grass/lib/libgrass_gis.6.0.1.so)
undefined symbol: hypot (/usr/lib/grass/lib/libgrass_gis.6.0.1.so)
        linux-gate.so.1 =>  (0xffffe000)
        libz.so.1 => /usr/lib/libz.so.1 (0x41eb9000)
        libgrass_datetime.so => /usr/lib/grass/lib/libgrass_datetime.so (0x4216c000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x41d53000)
        /lib/ld-linux.so.2 (0x80000000)

Could you please link libgrass_gis with libm ?


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (100, 'unstable'), (99, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15)

Versions of packages libgrass depends on:
ii  fftw2 [fftw2-double]      2.1.3-16.2     Library for computing Fast Fourier
ii  libc6                     2.3.5-11       GNU C Library: Shared libraries an
ii  libgdal1c2a               1.2.6-1.3      Geospatial Data Abstraction Librar
ii  libglu1-xorg [libglu1]    6.9.0.dfsg.1-2 Mesa OpenGL utility library [X.Org
ii  libncurses5               5.5-1          Shared libraries for terminal hand
ii  libtiff4                  3.7.4-1        Tag Image File Format (TIFF) libra
ii  proj                      4.4.9d-2       Cartographic projection filter and
ii  xlibmesa-gl [libgl1]      6.9.0.dfsg.1-2 Mesa 3D graphics library [X.Org]
ii  zlib1g                    1:1.2.3-9      compression library - runtime

libgrass recommends no packages.

-- no debconf information

---------------------------------------
Received: (at 346467-done) by bugs.debian.org; 31 Jan 2006 13:20:28 +0000
>From f.lovergine at ba.issia.cnr.it Tue Jan 31 05:20:28 2006
Return-path: <f.lovergine at ba.issia.cnr.it>
Received: from egg.area.ba.cnr.it ([150.145.80.53])
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1F3vQq-0007k3-2w
	for 346467-done at bugs.debian.org; Tue, 31 Jan 2006 05:20:28 -0800
Received: from localhost (localhost.localdomain [127.0.0.1])
	by egg.area.ba.cnr.it (8.13.1/8.13.1/SuSE Linux 0.7) with ESMTP id k0VDKNSf013050;
	Tue, 31 Jan 2006 14:20:23 +0100
Received: from klecker (klecker.ba.issia.cnr.it [150.145.84.32])
	by egg.area.ba.cnr.it (8.13.1/8.13.1/SuSE Linux 0.7) with ESMTP id k0VDKI37013040;
	Tue, 31 Jan 2006 14:20:19 +0100
Received: from [150.145.84.209] (helo=localhost.localdomain)
	by klecker with esmtpa (Exim 4.60)
	(envelope-from <f.lovergine at ba.issia.cnr.it>)
	id 1F3vQf-0003GS-6D; Tue, 31 Jan 2006 14:20:17 +0100
Received: from frankie by localhost.localdomain with local (Exim 4.60)
	(envelope-from <f.lovergine at ba.issia.cnr.it>)
	id 1F3vQS-00039F-6W; Tue, 31 Jan 2006 14:20:04 +0100
Date: Tue, 31 Jan 2006 14:20:04 +0100
From: Francesco Paolo Lovergine <frankie at debian.org>
To: "Francesco P. Lovergine" <frankie at debian.org>
Cc: Laurent Bonnaud <bonnaud at lis.inpg.fr>, 346467-done at bugs.debian.org
Subject: Re: Bug#346467: [DebianGIS-dev] Bug#346467: libgrass: undefined symbols from libm
Message-ID: <20060131132004.GB4204 at mithrandir>
References: <1136746955.26217.20.camel at jophur> <20060108210952.GB18580 at ba.issia.cnr.it> <1137075778.32258.96.camel at irancy.lis.inpg.fr> <20060113104106.GA7334 at ba.issia.cnr.it>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20060113104106.GA7334 at ba.issia.cnr.it>
X-GPG-Fingerprint: 92E4 2D44 336F DF91 5508  23D5 A453 5199 E9F2 C747
X-GPG-Info: finger frankie at db.debian.org
X-Advocacy: Who uses non-free software empoisons you too. Say him to stop.
User-Agent: Mutt/1.5.11
X-Virus-Scanned: by amavisd-new-20041222+Sophos at egg.area.ba.cnr.it
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

On Fri, Jan 13, 2006 at 11:41:06AM +0100, Francesco P. Lovergine wrote:
> On Thu, Jan 12, 2006 at 03:22:58PM +0100, Laurent Bonnaud wrote:
> > > ldd /usr/lib/grass/lib/libgrass_gis.6.0.1.so
> > >         linux-gate.so.1 =>  (0xffffe000)
> > >         libz.so.1 => /usr/lib/libz.so.1 (0xb7ee4000)
> > >         libgrass_datetime.so => /usr/lib/grass/lib/libgrass_datetime.so (0xb7edc000)
> > >         libc.so.6 => /lib/tls/libc.so.6 (0xb7da5000)
> > >         /lib/ld-linux.so.2 (0x80000000)
> > 
> > You did not use the "-r" switch.  Do you get the same result with it?
> > 
> > > The same with the experimental package.
> > > Would you please reinstall from scratch the sid pkg?
> > 
> > The md5sum of my file should be the same as yours:
> > 
> > $ md5sum /usr/lib/grass/lib/libgrass_gis.6.0.1.so
> > 6d8ef9b38c1ce694bae212058a63b540  /usr/lib/grass/lib/libgrass_gis.6.0.1.so
> > 
> > > What distribution are you using?
> > 
> > sid, updated every day, and some packages from experimental.
> > 
> 
> Yes I see the same unresolved. I suspect the libm is differently
> resolved, btw. There's something about in the autoconf scripts, I need
> to check...
> 

Ok, ext function relocs are resolved by ld.so at run-time. You will find a
tons of solibs working the same around in /usr/lib/... They are indeed
resolved because the library is linked by the ELF using that lib.
I think that's a ld 'feature'. So closing.

-- 
Francesco P. Lovergine



More information about the Pkg-grass-devel mailing list