This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: problems in linking
- From: "Rupert Wood" <me at rupey dot net>
- To: "'venkat narayana M'" <rsvenki229 at yahoo dot com>
- Cc: <gcc-help at gcc dot gnu dot org>,"'Sagar Shah'" <sagars at dpsl dot net>
- Date: Sun, 20 Jul 2003 13:22:16 +0100
- Subject: RE: problems in linking
Sagar Shah wrote:
> which libraries does des_ecb_encrypt() uses, try to link with that
> libraries. try out
>
> gcc -o $optname $programname.c -l$libname
It'll be OpenSSL's libeay.a or libeay.so, i.e. you want to add '-leay' to
your link line plus '-L<path to libeay.*>' if necessary.
Good luck,
Rup.