On Aug 9, 2006, at 5:22 AM, Holger Mauermann wrote:
Jason Dixon wrote:
I'm trying to get the RRD perl modules working within the default
chroot.
/var/www/usr/local/lib/librrd.so.0.0
/var/www/usr/local/lib/librrd.la
/var/www/usr/local/lib/librrd.a
/var/www/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/RRDs
/var/www/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/RRDs/
RRDs.bs
/var/www/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/RRDs/
RRDs.so
/var/www/usr/local/libdata/perl5/site_perl/RRDs.pm
/var/www/usr/local/libdata/perl5/site_perl/RRDp.pm
/var/www/usr/local/include/rrd.h
rrdtool needs much more libraries. In case of my updated port to
rrdtool-1.2.15 (which I posted two weeks ago to ports@), it's at least
/usr/local/lib/librrd.so.2.8
/usr/X11R6/lib/libfreetype.so.13.1
/usr/local/lib/libpng.so.4.2
/usr/lib/libz.so.4.1
/usr/local/lib/libart_lgpl_2.so.5.17
The old rrdtool-1.0.49 that is still in -current ports tree also needs
gd and probably some other libs.
Yeah, everything is there. Turns out I was missing ld.so.hints in
chroot. Strange thing, it never affected any of my other chrooted
applications.
Thanks,
--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net