Subject: pkg/24292: Undefined PLT symbol 'rrd_clear_error' in
To: None <>
From: None <>
List: netbsd-bugs
Date: 02/01/2004 19:01:37
>Number:         24292
>Category:       pkg
>Synopsis:       Undefined PLT symbol 'rrd_clear_error' in
>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
>Originator:     Michael van Elst
>Release:        NetBSD 1.6.2_RC4
                                Michael van Elst
                                "A potential Snark may lurk in every tree."
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
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/ Undefined PLT
 symbol "rrd_clear_error" (reloc type = 7, symnum = 53)

The rrd libraries are built but ldd reveals that the module is
not linked against them.

Build the current rrdtool and mrtg packages and try to run mrtg.

I have manually added -lrrd to the linkage of in the Makefile
in subdirectory perl-shared/. The result works again but I'm not
sure if that is the correct method.