Problem compiling openssh-4.3p2 w/ openssl.0.9.8a on FC3

Colin Dick cdick at ocis.net
Wed Mar 15 05:29:02 EST 2006


Hi there,
	I have tried compiling OpenSSH 4.3p2 using the following steps:

Upgrade OpenSSL
	tar xvfz openssl-0.9.8a.tar.gz
	cd openssl-0.9.8a
	./config
	make
	make install

Upgrade zlib
	tar xvfz zlib-1.2.3.tar.gz
	./configure
	make test
	make install

Upgrade OpenSSH
	tar xvfz openssh-4.3p2.tar.gz
	cd openssh-4.3p2.tar.gz
	./configure --with-tcp-wrappers --with-ssl-dir=/usr/local/ssl 
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc/ssh --with-md5 
--with-rand-helper 
	make

	Unfortunately, the make fails with the following error:

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 -lresolv -lcrypto -lutil -lz -lnsl  -lcrypt
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x38): In function 
`dlfcn_load':
: undefined reference to `dlopen'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xa0): In function 
`dlfcn_load':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xc9): In function 
`dlfcn_load':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x13e): In function 
`dlfcn_unload':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x1f5): In function 
`dlfcn_bind_var':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x241): In function 
`dlfcn_bind_var':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x2d5): In function 
`dlfcn_bind_func':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x321): In function 
`dlfcn_bind_func':
: undefined reference to `dlerror'
collect2: ld returned 1 exit status
make: *** [ssh] Error 1

	Any ideas?  It looks like an incompatibility between OpenSSH and 
OpenSSL.  Thanks in advance for any information or suggestions you can 
provide.

--
Colin Dick
OCIS Admin




More information about the openssh-unix-dev mailing list