Getting started with Asterisk. Error compilation!


#1

Hi all,

I’m trying to install Asterisk from CVS. I followed all basic steps shown in several configuration howto’s:

I downloaded sources from CVS:

cd /usr/src/
export CVSROOT=:pserver:anoncvs@cvs.digium.com:/usr/cvsroot

cvs login (pass anoncvs)

cvs checkout -r v1-0 libpri asterisk asterisk-addons asterisk-sounds

(I’m using a LineJack card so I guess I don’t need Zaptel drivers)

cd …/libpri
make clean; make install
cd …/asterisk
make clean; make install

Now it crashes. I obtain this:

.
.
.

/usr/bin/ld: cannot find -lssl
colelct2: ld returned 1 exit status
make: *** [asterisk] Error 1

I’ve tried to remove -lssl option from last gcc compiling line ( gcc -g -o asterisk -Wl,-E io.o sched.o…) but nothing happens. Please I do need help

Can anybody tell me which is the easiest way to get Asterisk running properly??

Thanks in advance!


#2

sounds like you need libssl development libraries.

Matt


#3

Thanks mogorman, I’ll try this

Yeah it works, thank u very much!!!