[Asterisk-Users] compile error (still having problems)

jjj3 jjj3 jjj3_j at hotmail.com
Mon Feb 2 10:09:23 MST 2004


Hey guys!

I'm still having problems trying to get Asterisk compiled but when compiling 
res_crypto.c, I get this error:

NSSL_NO_KRB5 -fPIC   -c -o res_parking.o res_parking.c
gcc -shared -Xlinker -x -o res_parking.so res_parking.o
gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE 
  -O6 -march=i686  -DZAPTEL_OPTIMIZATIONS 
-DASTERISK_VERSION=\"CVS-02/02/04-13:02:21\" -DINSTALL_PREFIX=\"\" 
-DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" 
-DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" 
-DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" 
-DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" 
-DASTMODDIR=\"/usr/lib/asterisk/modules\" 
-DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"     -DBUSYDETECT_MARTIN     
-DNEW_PRI_HANGUP    -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC   -c -o 
res_crypto.o res_crypto.c
gcc -shared -Xlinker -x -o res_crypto.so res_crypto.o -lssl -lcrypto
/usr/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
make[1]: *** [res_crypto.so] Error 1
make[1]: Leaving directory `/usr/src/asterisk/res'
make: *** [subdirs] Error 1

My ld.so.conf seems to be ok:
/usr/include/openssl/

Any ideas?
tks
jjj3_j

_________________________________________________________________
Get a FREE online virus check for your PC here, from McAfee. 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963




More information about the asterisk-users mailing list