Subject: | DBI bug |
Date: | Thu, 19 Aug 2010 13:49:58 +0200 |
To: | bug-DBI [...] rt.cpan.org |
From: | "Nicolas Rüger" <NicolasRueger [...] gmx.de> |
Hello,
I'm using debian lenny linux version 2.6.26-2-686 with standard configuration. Further I use the kamailio_3.0.0 SIP Server and perl_5.10.0. (perl, v5.10.0 built for i486-linux-gnu-thread-multi) compiled with the debian lenny package manager.
I get a bug loading perl scripts on kamailio startup when I include DBI in a perl script loaded by kamailio on startup.
use DBI;
Kamailio drops the following error on startup:
lenny:/opt/kamailio-3.0.0/sbin# 0(17385) ERROR: perl [openserxs.xs:1027]: perl error: Can't load '/usr/lib/perl5/auto/DBI/DBI.so' for module DBI: /usr/lib/perl5/auto/DBI/DBI.so: undefined symbol: PL_memory_wrap at /usr/lib/perl/5.10/DynaLoader.pm line 196.
at /usr/lib/perl5/DBI.pm line 263
I use the Perl database interface libdbi-perl version 1.605-1
The PERL-script itself (without kamailio) compiles without problems and other scripts work fine as well.
I can “solve” the problem when I preload the following library like this:
export LD_PRELOAD=/usr/lib/libperl.so.5.10
Is there any way to solve that problem without using LD_PRELOAD???
Regards,
Nicolas
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01