Thank you very much that was the solution but i´m wondering why i have to 
specify it ? I didn´t install in an unusual place. I just followed the README 
and allowed it to choose its own defaults. i.e > Include is in 
/usr/local/ssl/include.

Is there an environment variable i have to set somewhere ? (btw i forgot to say 
i´m on Ubuntu).

Btw would you by any chance know of any examples of calling the crypto 
functions from JNI ? OR any resources that would help ? I only need to call 
encrypt/decrypt with blowfish/des and thats it but unfortunately i´m completely 
unfamiliar with C and JNI and i don´t have ne time to learn them (although i´m 
in the process of it)

Thanks again for the quick responce.


> 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]
> 



_________________________________________________________________
Sign up for eircom broadband now and get a free two month trial.*
Phone 1850 73 00 73 or visit http://home.eircom.net/broadbandoffer


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

Reply via email to