Well nobody replied, I'll nevertheless send the solution I found from google
search. I only had to specify the --with-libs=-ldl in my configure
options. Openssh compiled and installed ok.
On 8/1/06,<ddesscan(a)gmail.com> wrote:
*I am sending this again since I did not get any reply. Thanks in advance
for your help.
*
I get the following error when I do make install with openssh-4.3p2.
> The configure script was ok. ./configure --prefix =/usr --sysconfdir=/etc
> --with-tcp-wrapper=/usr/lib --with-skey=/usr . I have
> openssl-0.9.7f-7.10 installed (from fedora core 4 rpm)
> I have installed zlib-1.2.3 and zlib-devel needed with openssh.
> I'm running 2.6.17-1.2141_FC4
>
> Error message:
>
> gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.0
> sshconnect1.o sshconnect2.o -L. -Lopensbsd-compat/ -L/usr/lib -L/usr/lib
> -lssh -lopenbsd-comapt -lresolv -lcrypto -lskey -lutil -lz -lnsl -lcrypt
> /usr/lib/libcrypto.a(dso_dlfcn.o)(.text+0x3f): In function
> `dlfcn_load': dso_dlfcn.c: undefined reference to `dlopen'
> /usr/lib/libcrypto.a(dso_dlfcn.o)(.text+0x9c): dso_dlfcn.c : undefined
> reference to `dlclose'
> /usr/lib/libcrypto.a(dso_dlfcn.o)(.text+0xc8):dso_dlfcn.c : undefined
> reference to `dlerror'
> /usr/lib/libcrypto.a(dso_dlfcn.o)(.text+0x151): In function
> `dlfcn_unload': dso_dlfcn.c :undefined reference to `dlclose'
> /usr/lib/libcrypto.a(dso_dlfcn.o)(.text+0x20d): In function
> `dlfcn_bind_var':dso_dlfcn.c: undefined reference to `dlsym'
> /usr/lib/libcrypto.a(dso_dlfcn.o)(.text+0x281): dso_dlfcn.c: undefined
> reference to `dlerror'
> /usr/lib/libcrypto.a(dso_dlfcn.o)(.text+0x2ef): In function
> `dlfcn_bind_func':dso_dlfcn.c: undefined reference to `dlsym'
> /usr/lib/libcrypto.a(dso_dlfcn.o)(.text+0x36b):dso_dlfcn.c: undefined
> reference to `dlerror'
> collect2: ld returned 1 exit status
> make: *** [ssh] Error 1
>
> Can it be a problem with dynamic linking of libraries? I have not tried
> to recompile new versions of openssl. The last time I made a mistake and
> remove libssl.so.5 and libcrypto.a (two important libraries needed by
> rpm, yum , wget and others). Thanks to you guys in this forum, I received a
> copy of the missing libraries and could use utilities again. Thanks in
> advance for all help
>
> Rgds
>
>
>