NetBSD Problem Report #24292
Received: (qmail 26174 invoked by uid 605); 1 Feb 2004 18:01:47 -0000
Message-Id: <200402011801.i11I1bb10986@pepew.1st.de>
Date: Sun, 1 Feb 2004 19:01:37 +0100 (MET)
From: mlelstv@serpens.de
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: mlelstv@serpens.de
To: gnats-bugs@gnats.netbsd.org
Subject: Undefined PLT symbol 'rrd_clear_error' in RRDs.so
X-Send-Pr-Version: 3.95
>Number: 24292
>Category: pkg
>Synopsis: Undefined PLT symbol 'rrd_clear_error' in RRDs.so
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: seb
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 01 18:02:00 +0000 2004
>Closed-Date: Fri Mar 05 17:56:19 +0000 2004
>Last-Modified: Thu Nov 08 22:00:04 +0000 2007
>Originator: Michael van Elst
>Release: NetBSD 1.6.2_RC4
>Organization:
--
Michael van Elst
Internet: mlelstv@serpens.de
"A potential Snark may lurk in every tree."
>Environment:
System: NetBSD pepew 1.6.2_RC4 NetBSD 1.6.2_RC4 (PEPEW) #2: Sat Jan 17 11:06:04 MET 2004 src@pepew:/amd/fud/d/0/src/sys/arch/i386/compile/PEPEW i386
Architecture: i386
Machine: i386
>Description:
When using MRTG the perl-Module of rrdtool is called which results in
an error:
/usr/pkg/lib/perl5/site_perl/5.8.1/i386-netbsd//auto/RRDs/RRDs.so: Undefined PLT
symbol "rrd_clear_error" (reloc type = 7, symnum = 53)
The rrd libraries are built but ldd reveals that the module RRDs.so is
not linked against them.
>How-To-Repeat:
Build the current rrdtool and mrtg packages and try to run mrtg.
>Fix:
I have manually added -lrrd to the linkage of RRDs.so in the Makefile
in subdirectory perl-shared/. The result works again but I'm not
sure if that is the correct method.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->seb
Responsible-Changed-By: seb
Responsible-Changed-When: Thu Feb 5 23:54:36 UTC 2004
Responsible-Changed-Why:
I have a fix for this problem. And I'll commit it while also updating
the package.
State-Changed-From-To: open->feedback
State-Changed-By: seb
State-Changed-When: Sat Feb 7 17:45:03 UTC 2004
State-Changed-Why:
Could you confirm that rrdtool-1.0.40nb2 fix the problem for you?
Thanks in advance.
From: Stoned Elipot <seb@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/24292 CVS commit: pkgsrc/databases/rrdtool
Date: Sat, 7 Feb 2004 17:44:10 +0000 (UTC)
Module Name: pkgsrc
Committed By: seb
Date: Sat Feb 7 17:44:10 UTC 2004
Modified Files:
pkgsrc/databases/rrdtool: Makefile distinfo
pkgsrc/databases/rrdtool/patches: patch-ap patch-as
Added Files:
pkgsrc/databases/rrdtool: buildlink3.mk
pkgsrc/databases/rrdtool/patches: patch-av patch-aw patch-ax patch-ay
Log Message:
Now that lang/perl5/module.mk fiddles with OTHERLDFLAGS fix the way
RRDs.so shared perl module is built and thus fix runtime failure
described in PR pkg/24292 by Michael van Elst <mlelstv at serpens dot de>.
Also fix sparc64 compilation warnings and runtime failure due to
time_t's size assumption: sizeof(time_t) != sizeof(long) on NetBSD/sparc64.
While here bl3ify, this somewhat simplify the package, and provide
a buildlink3.mk file.
Bump PKGREVISION.
With wulf@'s blessing.
To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 pkgsrc/databases/rrdtool/Makefile
cvs rdiff -r0 -r1.1 pkgsrc/databases/rrdtool/buildlink3.mk
cvs rdiff -r1.9 -r1.10 pkgsrc/databases/rrdtool/distinfo
cvs rdiff -r1.4 -r1.5 pkgsrc/databases/rrdtool/patches/patch-ap \
pkgsrc/databases/rrdtool/patches/patch-as
cvs rdiff -r0 -r1.1 pkgsrc/databases/rrdtool/patches/patch-av \
pkgsrc/databases/rrdtool/patches/patch-aw \
pkgsrc/databases/rrdtool/patches/patch-ax \
pkgsrc/databases/rrdtool/patches/patch-ay
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Michael van Elst <mlelstv@serpens.de>
To: gnats-bugs@gnats.netbsd.org
Cc: seb@netbsd.org
Subject: Re: pkg/24292
Date: Sat, 7 Feb 2004 19:06:21 +0100
On Sat, Feb 07, 2004 at 05:45:52PM -0000, seb@netbsd.org wrote:
> Synopsis: Undefined PLT symbol 'rrd_clear_error' in RRDs.so
>
> State-Changed-From-To: open->feedback
> State-Changed-By: seb
> State-Changed-When: Sat Feb 7 17:45:03 UTC 2004
> State-Changed-Why:
> Could you confirm that rrdtool-1.0.40nb2 fix the problem for you?
> Thanks in advance.
Builds ok. Thanks.
--
Michael van Elst
Internet: mlelstv@serpens.de
"A potential Snark may lurk in every tree."
State-Changed-From-To: feedback->closed
State-Changed-By: kristerw
State-Changed-When: Fri Mar 5 17:55:23 UTC 2004
State-Changed-Why:
The submitter has confirmed that the problem has been solved.
From: Petar Bogdanovic <list+2007@smokva.net>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/24292 (Undefined PLT symbol 'rrd_clear_error' in RRDs.so)
Date: Thu, 8 Nov 2007 22:56:28 +0100
I know this is nearly four years old but exactly the same bug appeared
again, when I tried to install mail/mailgraph.
Fix hasn't changed too: Add -lrrd ``to the linkage of RRDs.so in the
Makefile in subdirectory perl-shared/''.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.