I had the same thing, and the libraries are all there.  I think it&#39;s related to how menuconfig works (or rather in this case doesn&#39;t).  If you manually set in the Makefile, or set the environment variable:<br><br>export TLS=1<br>
<br>Seems to fix the problem for me anyway, but still testing.<br clear="all"><br>-dg<br>
<br><br><div class="gmail_quote">On Sat, May 12, 2012 at 6:48 AM, Brian ipt <span dir="ltr">&lt;<a href="mailto:voiplists@iptel.co" target="_blank">voiplists@iptel.co</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On Sat, May 12, 2012 at 12:04 AM, Cindy Leung &lt;<a href="mailto:cinthia721@gmail.com">cinthia721@gmail.com</a>&gt; wrote:<br>
&gt; Hello,<br>
&gt;<br>
&gt; I just got a copy of 1.8 from svn and enabled TLS in menuconfig.  This is what I got during installation.<br>
&gt; Any idea?<br>
&gt;<br>
&gt; Thanks!<br>
&gt;<br>
&gt;<br>
&gt; Cindy<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Compiling lex.yy.c<br>
&gt; Compiling cfg.tab.c<br>
&gt; Linking opensips<br>
&gt; main.o: In function `cleanup&#39;:<br>
&gt; /usr/local/src/opensips_1_8/main.c:353: undefined reference to `destroy_tls&#39;<br>
&gt; main.o: In function `main&#39;:<br>
&gt; /usr/local/src/opensips_1_8/main.c:1259: undefined reference to `pre_init_tls&#39;<br>
&gt; /usr/local/src/opensips_1_8/main.c:1380: undefined reference to `init_tls&#39;<br>
&gt; main.o: In function `main_loop&#39;:<br>
&gt; /usr/local/src/opensips_1_8/main.c:784: undefined reference to `tls_init&#39;<br>
&gt; tcp_main.o: In function `tcpconn_new&#39;:<br>
&gt; /usr/local/src/opensips_1_8/tcp_main.c:468: undefined reference to `tls_tcpconn_init&#39;<br>
&gt; tcp_main.o: In function `_tcpconn_rm&#39;:<br>
&gt; /usr/local/src/opensips_1_8/tcp_main.c:571: undefined reference to `tls_tcpconn_clean&#39;<br>
&gt; tcp_main.o: In function `tcpconn_destroy&#39;:<br>
&gt; /usr/local/src/opensips_1_8/tcp_main.c:1104: undefined reference to `tls_close&#39;<br>
&gt; tcp_main.o: In function `tcpconn_rm&#39;:<br>
&gt; /usr/local/src/opensips_1_8/tcp_main.c:590: undefined reference to `tls_tcpconn_clean&#39;<br>
&gt; tcp_main.o: In function `tcp_send&#39;:<br>
&gt; /usr/local/src/opensips_1_8/tcp_main.c:847: undefined reference to `tls_blocking_write&#39;<br>
&gt; tcp_main.o: In function `tcpconn_timeout&#39;:<br>
&gt; /usr/local/src/opensips_1_8/tcp_main.c:1487: undefined reference to `tls_close&#39;<br>
&gt; /usr/local/src/opensips_1_8/tcp_main.c:1487: undefined reference to `tls_close&#39;<br>
&gt; /usr/local/src/opensips_1_8/tcp_main.c:1487: undefined reference to `tls_close&#39;<br>
&gt; /usr/local/src/opensips_1_8/tcp_main.c:1487: undefined reference to `tls_close&#39;<br>
&gt; /usr/local/src/opensips_1_8/tcp_main.c:1487: undefined reference to `tls_close&#39;<br>
&gt; tcp_main.o:/usr/local/src/opensips_1_8/tcp_main.c:1487: more undefined references to `tls_close&#39; follow<br>
&gt; tcp_read.o: In function `tcp_read_headers&#39;:<br>
&gt; /usr/local/src/opensips_1_8/tcp_read.c:191: undefined reference to `tls_read&#39;<br>
&gt; tcp_read.o: In function `tcp_read_req&#39;:<br>
&gt; /usr/local/src/opensips_1_8/tcp_read.c:452: undefined reference to `tls_fix_read_conn&#39;<br>
&gt; cfg.tab.o: In function `yyparse&#39;:<br>
&gt; /usr/local/src/opensips_1_8/cfg.y:1394: undefined reference to `tls_server_domains&#39;<br>
&gt; /usr/local/src/opensips_1_8/cfg.y:1452: undefined reference to `tls_client_domains&#39;<br>
&gt; /usr/local/src/opensips_1_8/cfg.y:1461: undefined reference to `tls_client_domains&#39;<br>
&gt; /usr/local/src/opensips_1_8/cfg.y:1469: undefined reference to `tls_client_domains&#39;<br>
&gt; /usr/local/src/opensips_1_8/cfg.y:1477: undefined reference to `tls_client_domains&#39;<br>
&gt; /usr/local/src/opensips_1_8/cfg.y:845: undefined reference to `tls_log&#39;<br>
&gt; /usr/local/src/opensips_1_8/cfg.y:861: undefined reference to `tls_default_server_domain&#39;<br>
&gt; /usr/local/src/opensips_1_8/cfg.y:863: undefined reference to `tls_default_client_domain&#39;<br>
&gt; /usr/local/src/opensips_1_8/cfg.y:871: undefined reference to `tls_default_server_domain&#39;<br>
&gt; /usr/local/src/opensips_1_8/cfg.y:873: undefined reference to `tls_default_client_domain&#39;<br>
&gt; /usr/local/src/opensips_1_8/cfg.y:881: undefined reference to `tls_default_server_domain&#39;<br>
<br>
</div></div>Hi Cindy,<br>
<br>
Just a wild guess but have you installed openssl-dev or libssl-dev ?<br>
<span class="HOEnZb"><font color="#888888"><br>
Brian<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>