make fails with ssl 0.9.8

Mike Cochran otyugh at sbcglobal.net
Wed Sep 28 08:10:14 EST 2005


Openssh gurus,


On Suse Linux 9.3 using kernel 2.6.11.4-21.9-default, x86_64 system  
with an athlon64:

If I make openssh 4.2p1 using the system's default ssl 0.9.7e, all is  
well; however, make fails if I install the newer ssl 0.9.8 and  
configure openssh with:

./configure --with-ssl-dir=/usr/local/ssl

A snippet from the last output from make is:

_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty 
\" -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" - 
DHAVE_CONFIG_H -c sshconnect2.c
gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o  
sshconnect1.o sshconnect2.o -L. -Lopenbsd-compat/ -L/usr/local/ssl/ 
lib  -lssh -lopenbsd-compat -lcrypto -lutil -lz -lnsl  -lcrypt - 
lresolv -lresolv
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x2d4): In function  
`dlfcn_bind_func':
dso_dlfcn.c: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x32c):dso_dlfcn.c:  
undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x3cc): In function  
`dlfcn_bind_var':
dso_dlfcn.c: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x448):dso_dlfcn.c:  
undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x49d): In function  
`dlfcn_unload':
dso_dlfcn.c: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x551): In function  
`dlfcn_load':
dso_dlfcn.c: undefined reference to `dlopen'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x5c6):dso_dlfcn.c:  
undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x5ff):dso_dlfcn.c:  
undefined reference to `dlerror'
collect2: ld returned 1 exit status
make: *** [ssh] Error 1

Is there an easy fix I'm missing?


Mike






More information about the openssh-unix-dev mailing list