Hi,

according to: dl error on dlopen
  /usr/local/ssl/lib/libcrypto.a 

I think you should add the "shared" option to openssl configure option.
If i remember well openssl 0.9.7x are configured to build shared libraries by 
default whereas openssl 0.9.8 is not.

hope ti could help

Fred


-----Original Message-----
From:   Christopher L. Barnard via RT [mailto:[EMAIL PROTECTED]
Sent:   Fri 7/22/2005 7:19 PM
To:     
Cc:     [email protected]
Subject:        [openssl.org #1173] bug report 


Unfortunately I am unable to determine if this is an bug with OpenSSH or
with OpenSSL.  Hence this email is going to both organizations.

OS: Solaris 9.  Sun Sparc v480.
C compiler: gcc 3.4.0
zlib: 1.2.3

I just downloaded ssl version 0.9.8.  No options to the configure.  Built,
tested, and installed it.

(~) wintermute 51 % /opt/local/ssl/bin/openssl version
OpenSSL 0.9.8 05 Jul 2005

I just downloaded OpenSSH 4.1. For configure, I use the following
five options:
 --with-tcp-wrappers --with-pid-dir=/var/run --with-mantype=cat
 --sysconfdir=/etc/ssh --with-ssl-dir=/usr/local/ssl

The make fails:
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
-R/usr/local/ssl/lib -lssh -lopenbsd-compat -lresolv -lcrypto -lrt -lz
-lsocket -lnsl
Undefined                       first referenced
 symbol                             in file
dlsym
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)  (symbol belongs to implicit
dependency /usr/lib/libdl.so.1)
dlopen
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)  (symbol belongs to implicit
dependency /usr/lib/libdl.so.1)
dlclose
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)  (symbol belongs to implicit
dependency /usr/lib/libdl.so.1)
dlerror
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)  (symbol belongs to implicit
dependency /usr/lib/libdl.so.1)
ld: fatal: Symbol referencing errors. No output written to ssh
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `ssh'

I downgraded to ssl version 0.9.7g::

(~) wintermute 61 % /usr/local/ssl/bin/openssl version
OpenSSL 0.9.7g 11 Apr 2005

and OpenSSH 4.1 compiles just fine.


Christopher L. Barnard               Lead Security Systems Administrator
(312) 347-4901                              Technology and Data Products
[EMAIL PROTECTED]                         The Chicago Board of Trade

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]




<<winmail.dat>>

Reply via email to