[SR-Users] DBI Error on startup

Henning Westerholt henning.westerholt at 1und1.de
Thu Aug 5 12:58:40 CEST 2010


On Wednesday 04 August 2010, Nicolas Rüger wrote:
> I'm using debian lenny, kamailio_3.0.0 and perl_5.10.0.
> 
> I included the following line in a PERL-script (that I want to be started
>  from the routing-logic in kamailio.cfg) for interaction of PERL with a
>  MySQL Database:
> 
>  use DBI;
> 
> The problem is that I get the follwing error at kamailio-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
> 
> 
> The PERL-script itself compiles without problems and other scripts work

Hi Nicolas,

i just did some searching, and it seems something related to a missing perl 
library, this posts specify some workaround:

http://www.nntp.perl.org/group/perl.dbi.users/2008/08/msg33124.html
http://www.opensubscriber.com/message/freeradius-
users at lists.freeradius.org/10186494.html

So it looks at the moment a bit like a generic issue in the DBI module to me, 
but some more input from somebody else which uses DBI with the perl module is 
of course appreciated.

Cheers,

Henning



More information about the sr-users mailing list