<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.16890" name=GENERATOR>
<STYLE>@font-face {
        font-family: 宋体;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Verdana size=2>Dear Jan:</FONT></DIV>
<DIV style="TEXT-INDENT: 2em"><FONT face=Verdana size=2>I appreciate your
reply.</FONT></DIV>
<DIV style="TEXT-INDENT: 2em"><FONT face=Verdana size=2>I have add the command
line TLS_EXTRA_LIBS="-lz" in the MAKEFILE,but it don't work!</FONT></DIV>
<DIV style="TEXT-INDENT: 2em"><FONT face=Verdana size=2></FONT> </DIV>
<DIV style="TEXT-INDENT: 2em"><FONT face=Verdana size=2>I changed the static lib
to shared libraries,then the below happens:</FONT></DIV>
<DIV style="TEXT-INDENT: 2em">load_module: could not open module
</usr/local/lib/ser/modules/tls.so>: /usr/local/lib/ser/modules/tls.so:
cannot open shared object file: No such file or directory</DIV>
<DIV style="TEXT-INDENT: 2em"> </DIV>
<DIV style="TEXT-INDENT: 2em">and I check the tls.so and found the tls module
dont linked the library :</DIV>
<DIV style="TEXT-INDENT: 2em">ldd tls.so</DIV>
<DIV style="TEXT-INDENT: 2em">libssl.so.0.9.8 => not found</DIV>
<DIV style="TEXT-INDENT: 2em"> </DIV>
<DIV style="TEXT-INDENT: 2em">I dont kown why. I have add the command line in
the MAKEFILE:</DIV>
<DIV style="TEXT-INDENT: 2em">LOCALBASE=/usr/local </DIV>
<DIV style="TEXT-INDENT: 2em">LIBS+= -L$(LOCALBASE)/lib -L$(LOCALBASE)/ssl/lib
-lssl -lcrypt </DIV>
<DIV style="TEXT-INDENT: 2em"><FONT face=Verdana size=2></FONT> </DIV>
<DIV style="TEXT-INDENT: 2em"><FONT face=Verdana size=2>and the libssl.so in my
/usr/local/ssl/lib!!! but the tls.so cant find !!</FONT></DIV>
<DIV style="TEXT-INDENT: 2em"><FONT face=Verdana size=2></FONT> </DIV>
<DIV style="TEXT-INDENT: 2em"><FONT face=Verdana size=2>Please help
me!</FONT></DIV>
<DIV align=left>
<DIV align=left><FONT face=Verdana size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" SIZE=2>
</FONT></DIV>
<DIV><FONT color=#c0c0c0><FONT face=Verdana
size=2><SPAN>qiulei212</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2>2009-08-24</FONT></FONT></DIV></DIV>
<DIV><FONT face=Verdana size=2>
<HR>
</FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>发件人:</STRONG> Jan
Andres</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>发送时间:</STRONG>
2009-08-22 02:18:51</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>收件人:</STRONG>
qiulei212</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>抄送:</STRONG>
serusers</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>主题:</STRONG> Re: [Serusers] TLS
module load error</FONT></FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>
<DIV>Hi,</DIV>
<DIV></DIV>
<DIV>On Fri, Aug 21, 2009 at 11:00:13AM +0800, qiulei212 wrote:</DIV>
<DIV>> hello friends:</DIV>
<DIV>> I crashed when i compile the SER source and use the tls.so!</DIV>
<DIV>> I have install the openssl 0.9.8 in the default folder :/usr/local</DIV>
<DIV>> and install the ser-2.0.0-rc1 in the default too.</DIV>
<DIV>> </DIV>
<DIV>> run the command below:</DIV>
<DIV>> make group_include="standard" include_modules="tls" all</DIV>
<DIV>> 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</DIV>
<DIV>> </DIV>
<DIV>> I don't know Why and ask help for you !</DIV>
<DIV></DIV>
<DIV>The tls module obviously needs to be linked against libz on your system.</DIV>
<DIV>Try adding the following to your make command line: TLS_EXTRA_LIBS="-lz"</DIV>
<DIV>That should do the trick.</DIV>
<DIV></DIV>
<DIV>Regards,</DIV>
<DIV>Jan</DIV>
<DIV>-- </DIV>
<DIV>Jan Andres <jan.andres@freenet.ag></DIV>
<DIV>VoIP Systems Engineer phone: +49 431 9020-557</DIV>
<DIV>freenet Cityline GmbH, Am Germaniahafen 1-7, D-24143 Kiel, Germany</DIV>
<DIV>Ein Unternehmen der freenet Group Amtsgericht Kiel, HRB 6202 KI</DIV>
<DIV>Geschäftsführer: Stephan Esch, Andreas Jürgensen, Bodo Rebetge, Andreas Sand</DIV>
<DIV>----------------------------------------------------------------------------</DIV>
<DIV>"The question of whether a computer can think is no more interesting than</DIV>
<DIV>the question of whether a submarine can swim." -- E. W. Dijkstra</DIV>
<DIV></DIV></FONT></DIV></BODY></HTML>