Specifying -lssl is sufficient. libssl depends on libcrypto and so will be automatically linked indirectly to your app.
e.g. gcc main.c -lssl -o sample will work. On Monday 16 June 2008 15:13:19 vinni rathore wrote: > Hi.. > first of all thanx as I got success using -lssl option with my file but > could you please give me the whole procedure that why the linking errors?? > how to link with the Library it needed .. i think in linux it require > Libcrypto.so and libssl.so.. > please provide me the steps.. > thnx in advance > regards, > Vinni -- mit freundlichen Grüßen / best regards Gerhard Gappmeier ascolab GmbH - automation system communication laboratory Tel.: +49 9131 691 123 Fax: +49 9131 691 128 Web: http://www.ascolab.com GPG-Key: http://www.ascolab.com/gpg/gg.asc ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]