Subject: pkg/24292: Undefined PLT symbol 'rrd_clear_error' in RRDs.so
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mlelstv@serpens.de>
List: netbsd-bugs
Date: 02/01/2004 19:01:37
>Number: 24292
>Category: pkg
>Synopsis: Undefined PLT symbol 'rrd_clear_error' in RRDs.so
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 01 18:02:00 UTC 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted: