Found a bug in the OpsnSSH configuration script

Ben Laurie ben at algroup.co.uk
Sat Mar 25 00:12:08 EST 2000


Richard Levitte - VMS Whacker wrote:
> 
> [I'm cc:ing openssl-users at openssl.org, because questions about this
>  are getting there over and over...]
> 
> There's a problem that several people who installed OpenSSL to be able
> to uyse OpenSSH have faced:
> 
>    Could not find working SSLeay / OpenSSL libraries, please install
> 
> I don't recall how SSLeay was installed, but for OpenSSL, there's a
> glitch in the way it tries to find the libraries.  The following fix
> works for me:

Its looking for an uninstalled version, handy for developers, not so
handy for users. Ideally it should try both.

Cheers,

Ben.

> 
> --- configure.in.orig   Thu Mar 23 18:56:58 2000
> +++ configure.in        Thu Mar 23 18:55:05 2000
> @@ -152,10 +152,10 @@
>  AC_MSG_CHECKING([for OpenSSL/SSLeay directory])
>  for ssldir in "" $tryssldir /usr /usr/local/openssl /usr/lib/openssl /usr/local/ssl /usr/lib/ssl /usr/local /usr/pkg /opt /opt/openssl ; do
>         if test ! -z "$ssldir" ; then
> -               LIBS="$saved_LIBS -L$ssldir"
> +               LIBS="$saved_LIBS -L$ssldir/lib"
>                 CFLAGS="$CFLAGS -I$ssldir/include"
>                 if test "x$need_dash_r" = "x1" ; then
> -                       LIBS="$LIBS -R$ssldir"
> +                       LIBS="$LIBS -R$ssldir/lib"
>                 fi
>         fi
>         LIBS="$LIBS -lcrypto"
> --- configure.orig      Thu Mar 23 18:55:02 2000
> +++ configure   Thu Mar 23 18:57:08 2000
> @@ -1890,10 +1890,10 @@
>  echo "configure:1891: checking for OpenSSL/SSLeay directory" >&5
>  for ssldir in "" $tryssldir /usr /usr/local/openssl /usr/lib/openssl /usr/local/ssl /usr/lib/ssl /usr/local /usr/pkg /opt /opt/openssl ; do
>         if test ! -z "$ssldir" ; then
> -               LIBS="$saved_LIBS -L$ssldir"
> +               LIBS="$saved_LIBS -L$ssldir/lib"
>                 CFLAGS="$CFLAGS -I$ssldir/include"
>                 if test "x$need_dash_r" = "x1" ; then
> -                       LIBS="$LIBS -R$ssldir"
> +                       LIBS="$LIBS -R$ssldir/lib"
>                 fi
>         fi
>         LIBS="$LIBS -lcrypto"
> 
> --
> Richard Levitte   \ Spannvägen 38, II \ LeViMS at stacken.kth.se
> Chairman at Stacken   \ S-168 35  BROMMA  \ T: +46-8-26 52 47
> Redakteur at Stacken   \      SWEDEN       \ or +46-708-26 53 44
> Procurator Odiosus Ex Infernis             -- bastard at bofh.se
>            Member of the OpenSSL development team
> 
> 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                    openssl-users at openssl.org
> Automated List Manager                           majordomo at openssl.org

--
http://www.apache-ssl.org/ben.html





More information about the openssh-unix-dev mailing list