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

Steven Critchfield critch at basesys.com
Mon Feb 2 10:19:52 MST 2004


On Mon, 2004-02-02 at 11:09, jjj3 jjj3 wrote:
> Hey guys!
> 
> I'm still having problems trying to get Asterisk compiled but when compiling 
> res_crypto.c, I get this error:


> gcc -shared -Xlinker -x -o res_crypto.so res_crypto.o -lssl -lcrypto
> /usr/bin/ld: cannot find -lssl


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


You have so much to learn. A quick look at the gcc man page says that -l
is a library to be linked against. Libraries are not held in include
directories. Go find out if you have libssl.so on you machine. Then beat
your head into the nearest manual greater than 5 pounds till you have
absorbed the details that help you understand simple concise error
messages.
-- 
Steven Critchfield  <critch at basesys.com>




More information about the asterisk-users mailing list