Skip Menu |

This queue is for tickets about the DBI CPAN distribution.

Report information
The Basics
Id: 60512
Status: rejected
Priority: 0/
Queue: DBI

People
Owner: Nobody in particular
Requestors: NicolasRueger [...] gmx.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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
Subject: Re: [rt.cpan.org #60512] DBI bug
Date: Thu, 19 Aug 2010 16:29:42 +0200 (CEST)
To: bug-DBI [...] rt.cpan.org
From: Jens Rehsack <rehsack [...] web.de>
Show quoted text
-----Ursprüngliche Nachricht----- Von: "Nicolas Rüger via RT" Gesendet: Aug 19, 2010 1:50:19 PM An: undisclosed-recipients:; Betreff: [rt.cpan.org #60512] DBI bug
>Thu Aug 19 07:50:19 2010: Request 60512 was acted upon. >Transaction: Ticket created by NicolasRueger@gmx.de > Queue: DBI > Subject: DBI bug > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: NicolasRueger@gmx.de > Status: new > Ticket > > >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
This sounds as kamailio has it's own perl (at least an own libperl.so), which is loaded before libdbi.so.
>Is there any way to solve that problem without using LD_PRELOAD???
Sounds to me like an issue in kamailio. Best regards, Jens
Any news or can we close it?
This isn't a DBI problem. It's a problem with your installation. Good luck.