Laguna Rock
2011-07-12 04:08:54 UTC
when I compile the program, it doesn't work because it can't find the library files
For example:
# include
I am compiling this way:
gcc -lopenssl filename.c
and I don't know if it is right... on the Internet there are a lot of ways but I can't find the right one.
I also tried to search for the file (for example des.h) but I didn't find it.
I wonder if the installation has gone well. But typing "openssl version" on the command line I get it's actually installed, otherwise he wouldn't say anything. I also checked the package manager and it's ok.
So why are the libraries missing? Perhaps is the compiling process wrong? or both?
Anyway:
how to include the OpenSSL libraries?
how to compile a C program that it should use them?
Do I have to install openssl in any particular way?