Subject: pkg/28800: Re: pkg/28800
To: None <wulf@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: Sven Hartge <hartge@ds9.argh.org>
List: pkgsrc-bugs
Date: 01/19/2005 22:01:03
The following reply was made to PR pkg/28800; it has been noted by GNATS.

From: Sven Hartge <hartge@ds9.argh.org>
To: gnats-bugs@netbsd.org
Cc: explorer@flame.org
Subject: Re: pkg/28800
Date: Wed, 19 Jan 2005 22:49:51 +0100 (CET)

 [Perl 5.8.x and RRD perl module crash]
 
 This happens, if rrdtool is compiled with pthreads and perl without.
 
 I got bitten by this yesterday, when upgrading a netbsd-box to netbsd-2-0 
 and pkgsrc-2004Q4.
 
 Somehow, perl will be compiled without pthread-support:
 
 root@mailgate-1:/tmp# ldd `which perl`
 /usr/bin/perl:
          -lm.0 => /usr/lib/libm387.so.0
          -lm.0 => /usr/lib/libm.so.0
          -lcrypt.0 => /usr/lib/libcrypt.so.0
          -lperl => /usr/pkg/lib/perl5/5.8.5/i386-netbsd/CORE/libperl.so
          -lc.12 => /usr/lib/libc.so.12
 
 while rrdtool:
 
 root@mailgate-1:/tmp# ldd `which rrdtool`
 /usr/pkg/bin/rrdtool:
          -lz.1 => /usr/pkg/lib/libz.so.1
          -ljpeg.62 => /usr/pkg/lib/libjpeg.so.62
          -lfreetype.6 => /usr/pkg/lib/libfreetype.so.6
          -lm.0 => /usr/lib/libm387.so.0
          -lm.0 => /usr/lib/libm.so.0
          -lpng.3 => /usr/pkg/lib/libpng.so.3
          -lpthread.0 => /usr/lib/libpthread.so.0
          -lgd.2 => /usr/pkg/lib/libgd.so.2
          -lcgi.0 => /usr/pkg/lib/libcgi.so.0
          -liconv.2 => /usr/pkg/lib/libiconv.so.2
          -lc.12 => /usr/lib/libc.so.12
          -lintl.2 => /usr/pkg/lib/libintl.so.2
          -lttf.2 => /usr/pkg/lib/libttf.so.2
          -lrrd.0 => /usr/pkg/lib/librrd.so.0
 
 
 The bug (if it is a bug) must have been introduced sometime after "fri dec 
 10 17:56:13 cet 2004", because some other box, also with netbsd-2-0 
 features a perl58 (compiled at said timestamp) _with_ pthread-support. 
 But: If I recompile perl on that system now, it also lacks 
 pthread-support.