Op donderdag 14 april 2005 om 11:41 uur schreef Paul het volgende:

> Hey all i install openssl without any problems but when i try and
> compile anything which includes header files i get:
>
> openssl/blowfish.h: No such file or directory
>
> I realise its probably something very small and stupid on my part but
> i am extremely short on time to get this sorted. If anyone can help
> please do.

If you've installed the OpenSSL headers in a directory which is not part
of the directories where your compiler expects them (like
/usr/local/include or /usr/include) you have to provide their location
with a command line option. Say that you've installed in /home/paul/ssl
than give as option for where to search the include files:

-I/home/paul/ssl/include

And correspondingly the location for the libraries:

-L/home/paul/ssl/lib

So it'll be something like this:

cc hello.c -o hello -I/home/paul/ssl/include -L/home/paul/ssl/lib -lssl -lcrypto

-- 
Marco Roeland
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to