Subject: pkg/14757: databases/rrdtool is broken -- can't find
To: None <>
From: None <>
List: netbsd-bugs
Date: 11/28/2001 08:41:55
>Number:         14757
>Category:       pkg
>Synopsis:       databases/rrdtool is broken -- can't find
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 28 00:42:00 PST 2001
>Originator:     Michael Graff
>Release:        NetBSD 1.5Y
>Organization:  yes, we do know everything
System: NetBSD 1.5Y NetBSD 1.5Y (FLAME_BIGNET) #1: Sat Nov 3 14:29:34 PST 2001 i386
Architecture: i386
Machine: i386
The rrdtool package has a Perl module, which is installed.  However,
it looks for a file "" and it cannot find it:

Can't load '/usr/pkg/lib/perl5/site_perl/5.6.0/i386-netbsd/auto/RRDs/' for module RRDs: Shared object "" not found at /usr/pkg/lib/perl5/5.6.0/i386-netbsd/ line 200.
 at - line 2
Compilation failed in require at - line 2.
BEGIN failed--compilation aborted at - line 2.

The problem seems to be that the build system thinks librrd_private should
be a staticlly linked library, but it somehow isn't happening that

LD_RUN_PATH="" gcc -o blib/arch/auto/RRDs/  --whole-archive -shared  -L/usr/pkg/lib RRDs.o -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -L../src/.libs/ -lrrd_private -lcgi -lm -lgd -lpng -lz -ljpeg -lttf -lXpm -lX11 -lintl    


	use RRDs;


My work around is to build once, then remove work/.build_done and

I then type "make" again, and after a "make install" it works.

That is gross.