<!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>&nbsp;</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 
&lt;/usr/local/lib/ser/modules/tls.so&gt;: /usr/local/lib/ser/modules/tls.so: 
cannot open shared object file: No such file or directory</DIV>
<DIV style="TEXT-INDENT: 2em">&nbsp;</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 =&gt; not found</DIV>
<DIV style="TEXT-INDENT: 2em">&nbsp;</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&nbsp;&nbsp; </DIV>
<DIV style="TEXT-INDENT: 2em">LIBS+= -L$(LOCALBASE)/lib -L$(LOCALBASE)/ssl/lib 
-lssl&nbsp; -lcrypt </DIV>
<DIV style="TEXT-INDENT: 2em"><FONT face=Verdana size=2></FONT>&nbsp;</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>&nbsp;</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&nbsp;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>&nbsp;</DIV>
<DIV><FONT face=Verdana size=2>
<DIV>Hi,</DIV>
<DIV></DIV>
<DIV>On&nbsp;Fri,&nbsp;Aug&nbsp;21,&nbsp;2009&nbsp;at&nbsp;11:00:13AM&nbsp;+0800,&nbsp;qiulei212&nbsp;wrote:</DIV>
<DIV>&gt;&nbsp;hello&nbsp;friends:</DIV>
<DIV>&gt;&nbsp;I&nbsp;crashed&nbsp;when&nbsp;i&nbsp;compile&nbsp;the&nbsp;SER&nbsp;source&nbsp;and&nbsp;use&nbsp;the&nbsp;tls.so!</DIV>
<DIV>&gt;&nbsp;I&nbsp;have&nbsp;install&nbsp;the&nbsp;openssl&nbsp;0.9.8&nbsp;in&nbsp;the&nbsp;default&nbsp;folder&nbsp;:/usr/local</DIV>
<DIV>&gt;&nbsp;and&nbsp;install&nbsp;the&nbsp;ser-2.0.0-rc1&nbsp;in&nbsp;the&nbsp;default&nbsp;too.</DIV>
<DIV>&gt;&nbsp;</DIV>
<DIV>&gt;&nbsp;run&nbsp;the&nbsp;command&nbsp;below:</DIV>
<DIV>&gt;&nbsp;&nbsp;&nbsp;make&nbsp;group_include="standard"&nbsp;include_modules="tls"&nbsp;all</DIV>
<DIV>&gt;&nbsp;make&nbsp;group_include="standard"&nbsp;include_modules="tls"&nbsp;installthe&nbsp;tls.so&nbsp;in&nbsp;the&nbsp;/usr/local/lib/&nbsp;ser/modules&nbsp;folderthe&nbsp;I&nbsp;add&nbsp;the&nbsp;loadmodule&nbsp;"/usr/local/lib/ser/modules/tls.so"&nbsp;in&nbsp;the&nbsp;ser.cfg&nbsp;and&nbsp;start&nbsp;/usr/local/sbin/&nbsp;serbut&nbsp;the&nbsp;ser&nbsp;start&nbsp;failed!I&nbsp;run&nbsp;the&nbsp;ser&nbsp;-c&nbsp;and&nbsp;found:ERROR:&nbsp;load_module:&nbsp;could&nbsp;not&nbsp;open&nbsp;module&nbsp;&lt;/usr/local/lib/ser/modules/tls.so&gt;:&nbsp;/usr/local/lib/ser/modules/tls.so:&nbsp;undefined&nbsp;symbol:&nbsp;deflate</DIV>
<DIV>&gt;&nbsp;</DIV>
<DIV>&gt;&nbsp;I&nbsp;don't&nbsp;know&nbsp;Why&nbsp;and&nbsp;ask&nbsp;help&nbsp;for&nbsp;you&nbsp;!</DIV>
<DIV></DIV>
<DIV>The&nbsp;tls&nbsp;module&nbsp;obviously&nbsp;needs&nbsp;to&nbsp;be&nbsp;linked&nbsp;against&nbsp;libz&nbsp;on&nbsp;your&nbsp;system.</DIV>
<DIV>Try&nbsp;adding&nbsp;the&nbsp;following&nbsp;to&nbsp;your&nbsp;make&nbsp;command&nbsp;line:&nbsp;TLS_EXTRA_LIBS="-lz"</DIV>
<DIV>That&nbsp;should&nbsp;do&nbsp;the&nbsp;trick.</DIV>
<DIV></DIV>
<DIV>Regards,</DIV>
<DIV>Jan</DIV>
<DIV>--&nbsp;</DIV>
<DIV>Jan&nbsp;Andres&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;jan.andres@freenet.ag&gt;</DIV>
<DIV>VoIP&nbsp;Systems&nbsp;Engineer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;phone:&nbsp;+49&nbsp;431&nbsp;9020-557</DIV>
<DIV>freenet&nbsp;Cityline&nbsp;GmbH,&nbsp;&nbsp;&nbsp;&nbsp;Am&nbsp;Germaniahafen&nbsp;1-7,&nbsp;&nbsp;&nbsp;&nbsp;D-24143&nbsp;Kiel,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Germany</DIV>
<DIV>Ein&nbsp;Unternehmen&nbsp;der&nbsp;freenet&nbsp;Group&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Amtsgericht&nbsp;Kiel,&nbsp;HRB&nbsp;6202&nbsp;KI</DIV>
<DIV>Geschäftsführer:&nbsp;Stephan&nbsp;Esch,&nbsp;Andreas&nbsp;Jürgensen,&nbsp;Bodo&nbsp;Rebetge,&nbsp;Andreas&nbsp;Sand</DIV>
<DIV>----------------------------------------------------------------------------</DIV>
<DIV>"The&nbsp;question&nbsp;&nbsp;of&nbsp;whether&nbsp;a&nbsp;computer&nbsp;&nbsp;can&nbsp;think&nbsp;is&nbsp;no&nbsp;more&nbsp;&nbsp;interesting&nbsp;than</DIV>
<DIV>the&nbsp;question&nbsp;of&nbsp;whether&nbsp;a&nbsp;submarine&nbsp;can&nbsp;swim."&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--&nbsp;E.&nbsp;W.&nbsp;Dijkstra</DIV>
<DIV></DIV></FONT></DIV></BODY></HTML>