<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.2.4">
</HEAD>
<BODY>
# apt-get install libssl-dev<BR>
<BR>
Remember you should have already installed the development packages for ncurses (if necessary), openssl, bison and zlib in order to compile Asterisk<BR>
<BR>
Francisco.<BR>
<BR>
Le mercredi 30 mars 2005 à 04:08 +1000, Adam Goryachev a écrit :
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">On Tue, 2005-03-29 at 17:08 +0200, Fred Blaise wrote:</FONT>
<FONT COLOR="#000000">> Hello</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Just installed fresh Debian testing box, checked out Asterisk and others</FONT>
<FONT COLOR="#000000">> from CVS stable (-r 1.0), and now trying to 'make install' in Asterisk.</FONT>
<FONT COLOR="#000000">> I get this error:</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> if [ -d CVS ] && ! [ -f .version ]; then echo CVS-v1-0-03/29/05-15:19:53</FONT>
<FONT COLOR="#000000">> > .version; fi </FONT>
<FONT COLOR="#000000">> gcc -g -o asterisk -Wl,-E io.o sched.o logger.o frame.o loader.o</FONT>
<FONT COLOR="#000000">> config.o channel.o translate.o file.o say.o pbx.o cli.o md5.o term.o</FONT>
<FONT COLOR="#000000">> ulaw.o alaw.o callerid.o fskmodem.o image.o app.o cdr.o tdd.o acl.o</FONT>
<FONT COLOR="#000000">> rtp.o manager.o asterisk.o ast_expr.o dsp.o chanvars.o indications.o</FONT>
<FONT COLOR="#000000">> autoservice.o db.o privacy.o astmm.o enum.o srv.o dns.o aescrypt.o</FONT>
<FONT COLOR="#000000">> aestab.o aeskey.o utils.o editline/libedit.a db1-ast/libdb1.a</FONT>
<FONT COLOR="#000000">> stdtime/libtime.a -ldl -lpthread -lncurses -lm -lresolv -lssl</FONT>
<FONT COLOR="#000000">> /usr/bin/ld: cannot find -lssl</FONT>
<FONT COLOR="#000000">> collect2: ld returned 1 exit status</FONT>
<FONT COLOR="#000000">> make: *** [asterisk] Error 1</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> I have installed openssl. I added /usr/lib/ssl into my /etc/ld.so.conf.</FONT>
<FONT COLOR="#000000">> Looked for other pkgs such as dev pkgs for openssl but couldn't find</FONT>
<FONT COLOR="#000000">> any.</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">Something like apt-cache search openssl | grep dev</FONT>
<FONT COLOR="#000000">Regards,</FONT>
<FONT COLOR="#000000">Adam</FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>