[Serusers] TLS module load error

Jan Andres jan.andres at freenet-ag.de
Fri Aug 21 20:18:48 CEST 2009


Hi,

On Fri, Aug 21, 2009 at 11:00:13AM +0800, qiulei212 wrote:
> hello friends:
> I crashed when i compile the SER source and use the tls.so!
> I have install the openssl 0.9.8 in the default folder :/usr/local
> and install the ser-2.0.0-rc1 in the default too.
> 
> run the command below:
>   make group_include="standard" include_modules="tls" all
> make group_include="standard" include_modules="tls" installthe tls.so in the /usr/local/lib/ ser/modules folderthe I add the loadmodule "/usr/local/lib/ser/modules/tls.so" in the ser.cfg and start /usr/local/sbin/ serbut the ser start failed!I run the ser -c and found:ERROR: load_module: could not open module </usr/local/lib/ser/modules/tls.so>: /usr/local/lib/ser/modules/tls.so: undefined symbol: deflate
> 
> I don't know Why and ask help for you !

The tls module obviously needs to be linked against libz on your system.
Try adding the following to your make command line: TLS_EXTRA_LIBS="-lz"
That should do the trick.

Regards,
Jan
-- 
Jan Andres                                           <jan.andres at freenet.ag>
VoIP Systems Engineer                                phone: +49 431 9020-557
freenet Cityline GmbH,    Am Germaniahafen 1-7,    D-24143 Kiel,     Germany
Ein Unternehmen der freenet Group              Amtsgericht Kiel, HRB 6202 KI
Geschäftsführer: Stephan Esch, Andreas Jürgensen, Bodo Rebetge, Andreas Sand
----------------------------------------------------------------------------
"The question  of whether a computer  can think is no more  interesting than
the question of whether a submarine can swim."             -- E. W. Dijkstra
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20090821/88a46093/attachment.pgp>


More information about the sr-users mailing list