openssl-0.9.8 problems with ssh

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

openssl-0.9.8 problems with ssh

Ramon Berger
SSL 0.9.8 Users:

I tried to upgrade to openssl-0.9.8 today and had a few problems. And was
woundering if anyone else saw this.

First, when I unpacked the tarball
http://www.openssl.org/source/openssl-0.9.8.tar.gz

I got the following message:

tar: A lone zero block at 31800

I was, however able to config, make and install openssl. But when I tried
to compile openssh-4.1 I got the following error:

gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect1.o
sshconnect2.o -L. -Lopenbsd-compat/ -L/opt/ssl/lib -R/opt/ssl/lib  -lssh
-lopenbsd-compat -lresolv -lcrypto -lrt -lz -lsocket -lnsl

Undefined                       first referenced
 symbol                             in file
dlopen                              /opt/ssl/lib/libcrypto.a(dso_dlfcn.o)
 (symbol belongs to implicit dependency /usr/lib/libdl.so.1)
dlclose                             /opt/ssl/lib/libcrypto.a(dso_dlfcn.o)
 (symbol belongs to implicit dependency /usr/lib/libdl.so.1)
dlsym                               /opt/ssl/lib/libcrypto.a(dso_dlfcn.o)
 (symbol belongs to implicit dependency /usr/lib/libdl.so.1)
dlerror                             /opt/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
make: *** [ssh] Error 1


I am able to compile openssh with openssl-0.9.7g.

I was doing this using gcc 3.3.2 on Solaris 9.
Thanks...

Ramon Berger
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: openssl-0.9.8 problems with ssh

Tim Rosmus
On Tue, 12 Jul 2005, Ramon Berger wrote:

|# SSL 0.9.8 Users:
|#
|# I got the following message:
|# tar: A lone zero block at 31800

not a problem.

|# gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect1.o
|# sshconnect2.o -L. -Lopenbsd-compat/ -L/opt/ssl/lib -R/opt/ssl/lib  -lssh
|# -lopenbsd-compat -lresolv -lcrypto -lrt -lz -lsocket -lnsl
|#
|# Undefined                       first referenced
|#  symbol                             in file
|# dlopen                              /opt/ssl/lib/libcrypto.a(dso_dlfcn.o)
|#  (symbol belongs to implicit dependency /usr/lib/libdl.so.1)
|# dlclose                             /opt/ssl/lib/libcrypto.a(dso_dlfcn.o)
|#  (symbol belongs to implicit dependency /usr/lib/libdl.so.1)
|# dlsym                               /opt/ssl/lib/libcrypto.a(dso_dlfcn.o)
|#  (symbol belongs to implicit dependency /usr/lib/libdl.so.1)
|# dlerror                             /opt/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
|# make: *** [ssh] Error 1
|#

Add "--with-ldflags=-ldl" to your configure run for openssh.
--
                Tim Rosmus <[hidden email]>
                   Postmaster / USENET / DNS
                      Northwest Nexus Inc.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]