Re: Can't configure Openssh

From: paul@cuenet.com
Date: 11/20/02


Date: Tue, 19 Nov 2002 22:07:30 -0800
From: paul@cuenet.com
To: Susan Cordova <scordova2@earthlink.net>

Thanks Susan,

Didn't work though. Here is a bit from config.log that might be helpful:
configure:8511: gcc -o conftest -g -O2 -Wall -Wpointer-arith
-Wno-uninitialized
-I/usr/local/ssl/include -L/usr/local/ssl/lib conftest.c -lbsd -lz
-lcrypto >
&5
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
dso_dlfcn.o(.text+0x8e): undefined reference to `dlopen'
dso_dlfcn.o(.text+0xa4): undefined reference to `dlopen'
dso_dlfcn.o(.text+0x10a): undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
dso_dlfcn.o(.text+0x1d2): undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
dso_dlfcn.o(.text+0x283): undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
dso_dlfcn.o(.text+0x353): undefined reference to `dlsym'
configure:8514: $? = 1
configure: failed program was:
#line 8485 "configure"
#include "confdefs.h"

Thanks,

--Paul

Susan Cordova wrote:

> ./configure --with-ssl-dir=/usr/local/src/openssl-engine-0.9.6g
>
> I think you need to tell openssh where to find openssl libs.
>
> Hope this helps.
>
> paul@cuenet.com wrote:
>
> > Hi,
> >
> > Not sure if the mailing list is working today....nothing happens when I
> > subscribe.
> >
> > I'm running some older Slackware and want to install Openssh. I have
> > previous ssh and even a previous Openssh that I successfully compiled
> > a couple years ago.
> >
> > The current release of Openssh is giving me the error:
> >
> > configure: error: *** Can't find recent OpenSSL libcrypto (see
> > config.log for details) ***
> >
> > Config.log doesn't seem to include much more info. However, when I do a
> > "locate libcrypto" I get:
> >
> > /usr/local/src/openssl-engine-0.9.6g/libcrypto.a
> > /usr/local/ssl/lib/libcrypto.a
> >
> > which indicates I have a pretty recent libcrypto properly installed.
> > Anyone have any
> > ideas why ./configure can't find it? I have /usr/local/ssl/lib included
> > in /etc/ld.so.conf
> > and have run ldconfig.
> >
> > Recently, I have had similar troubles with ./configure not being able to
> > find libs that
> > are onboard on another machine Ihave.
> >
> > Any suggestions would be appreciated.
> >
> > Thanks,
> >
> > --Paul