This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: gcc


Reza Afshar wrote:

(This would have been more appropriate for the gcc-help mailing list;
this list is for development of GCC.)

> gcc -g -o fileSaveAs -lssl -lcrypto fileSaveAs.c
> i recive mesage "cant open -lssl".

Do you have a libssl.a or libssl.so built and installed?

If not, you can use OpenSSL from http://www.openssl.org/.

If you do, you need to make sure that GCC can find it: use the -L switch
before -lssl to specify the library search path.

Good luck,
Rup.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]