[OpenSIPS-Users] perl module

Alex Balashov abalashov at evaristesys.com
Mon Aug 18 00:53:45 CEST 2008


You need to install libperl and its development headers (libperl-dev on 
Debian;  don't know about anything else), which are the C API bindings 
that allow such modules to be compiled.

David Villasmil wrote:
> Hello all
> 
> 
>      This must've been asked a thousand times, but i', having problems
> compiling the pel module...
> 
> 
> i set the environment variables like so.
> 
> PERLLDOPTS=`perl -MExtUtils::Embed -e ldopts`
> PERLCCOPTS=`perl -MExtUtils::Embed -e ccopts`
> TYPEMAP=/usr/share/perl/5.10/ExtUtils/typemap
> 
> but when compiling i get:
> 
> Linking perl.so
> gcc -shared  -Wl,-O2 -Wl,-E    opensipsxs.o perl.o perlfunc.o   `perl
> -MExtUtils::Embed -e ldopts` -o perl.so
> /usr/bin/ld: cannot find -lperl
> collect2: ld returned 1 exit status
> 
> can anyone help?
> 
> 
> thanks
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-- 
Alex Balashov
Evariste Systems
Web    : http://www.evaristesys.com/
Tel    : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (706) 338-8599



More information about the Users mailing list