> ----- Forwarded message from michellinhaggd <[EMAIL PROTECTED]> -----
>        I am in trouble. I tried to
> intall openvpn.
> I installed OpenSSl:
> 
> version: openssl-1.5.0
> 
> I did:(I believe that was a "hardware"
> problem so try)
> 
> #./configure linux-pentium thread shared
> #make
> #make install
> 
> 
> When I try to install openvpn...
> #./configure --enable-pthread
> --with-ssl-headers=/usr/local/include/openssl
> \\--with-ssl-lib=/usr/local/ssl/lib
> 
> After checked(directories, headers), a
> error occurs:
> 
> #configure:error: OpenSSL Crypto
> Headers not found

You should use /usr/local/ssl/include/openssl instead of
/usr/local/include/openssl.

> But when I put on openssl's
> configuration line bellow, it works...
> #./Configure --prefix=/usr/local
> linux-elf threads no-shared

With that option, you made sure that the OpenSSL binaries and headers
are installed directly under /usr/local instead of /usr/local/ssl

> And on openvpn's configuration:
> #./configure --enable-pthread

I assume that the openvpn configuration scripts looks for headers in
/usr/local/include and libraries in /usr/local/lib, among others.

>    Is there another choice to correct this?
>    Please send me a message, anyway.

The sensible choices are:

1. OpenSSL (in it's default install location):
        ./config shared
        make
        make install
   OpenVPN:
        ./configure \
                --with-ssl-headers=/usr/local/ssl/include/openssl \
                --with-ssl-lib=/usr/local/ssl/lib --enable-pthread
        make
        make install

2. OpenSSL (with binaries, libary files and headers in under
   /usr/local):
        ./config shared --prefix=/usr/local
        make
        make install
   OpenVPN:
        ./configure --enable-pthread
        make
        make install

NOTE: I haven't tested any of this!

-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.
You don't have to be rich, a $10 donation is appreciated!

-- 
Richard Levitte   \ Tunnlandsvägen 3  \ [EMAIL PROTECTED]
[EMAIL PROTECTED]  \ S-168 36  BROMMA  \ T: +46-8-26 52 47
                    \      SWEDEN       \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to