#137 Openssl

open
nobody
5
2012-11-29
2005-09-13
Anonymous
No

I Have a problemem after ./configure, There is an error
" Couldn't find your OpenSSL library installation dir
Use --with-openssl option to fix this problem "

What do I do ?

I'm a newby with Linux, so try to be easy on me.

Thanks,

SL

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I had same problem too.
    I was running Solaris 10.

    I had to run ./configure --with-openssl=/usr/sfw to get this
    to work

     
  • twoLeftHands

    twoLeftHands - 2006-12-24

    Logged In: YES
    user_id=1676022
    Originator: NO

    Hi,

    I'm running Debian and having the same problem. IT's looking for libssl right? Could it be a compatibility issue even though I'm compiling?

    Thanks,

    Kgn

     
  • Nobody/Anonymous

    Logged In: NO

    there is a problem with the way configure script try to find where are openssl header files.
    the way it is now you must suply the path to the openssl's include directory as an option to configure script, just like this (redhat linux):
    ./configure --with-openssl=/usr
    the script will try to find the file ssl.h in: <dir supplied>/include/openssl/ssl.h
    if you do not supply a dir, the script will try to find the file in:
    yes/include/openssl/ssl.h
    because the variable with_openssl will have value of 'yes'

    this patch fix this behaivor:
    --- /usr/src/redhat/BUILD/rdesktop-1.5.0/configure 2007-01-15 11:18:59.000000000 -0500
    +++ configure 2007-01-15 12:24:10.000000000 -0500
    @@ -5708,17 +5708,15 @@
    # Check whether --with-openssl or --without-openssl was given.
    if test "${with_openssl+set}" = set; then
    withval="$with_openssl"
    -
    - checkssldir "$withval"
    -
    -else
    -
    - for maindir in /usr/local /usr/lib /usr/pkg /usr /var/ssl /opt; do
    + if test "$withval" = "yes"; then
    + for maindir in /usr/local /usr/lib /usr/pkg /usr /var/ssl /opt; do
    for dir in $maindir $maindir/openssl $maindir/ssl; do
    checkssldir $dir && break 2
    done
    done
    -
    + else
    + checkssldir "$withval"
    + fi;

    fi;
    if test -z "$ssldir"; then

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks