SUMMARY: Unable to install openssh-3.2.3p1 on Solaris 8

From: Neil Calton <n.calton_at_rl.ac.uk>
Date: Fri Jun 14 2002 - 12:54:30 EDT
OK thanks to further suggestions from you guys, I have now got openssh-3.2.3p1
to configure and compile with openssl-0.9.6d on my Solaris 8 machine.

It seems the configure script was not linking with the "dl" library.
So I ran
./configure --with-libs=-ldl --with-tcp-wrappers --with-ssl-dir=/usr/local

and the
configure: error *** Can't find recent OpenSSL libcrypto ***
error went away!

Special thanks to:

Scott Sorrentino <ssorrent@appliedtheory.com>
Alex Stade <alex@trdlnk.com>
"Christopher L. Barnard" <cbar44@tsg.cbot.com>
gabriel rosenkoetter <gr@eclipsed.net>

Thanks to everyone.

Neil Calton
----

Problem Details
----------------------

configure: error *** Can't find recent OpenSSL libcrypto ***

was actually misleading, as it seems the config script can find the
libcrypto library  but that there are problems with it. The following
errors are reported.

configure:8264: gcc -o conftest -g -O2 -Wall -Wpointer-arith -Wno-uninitialized
-I/usr/local/ssl/include  -I/usr/local/include -L/usr/local/ssl/lib
-R/usr/local/ssl/lib -L/usr/local/lib -R/usr/local/lib conftest.c -lz 
-lsocket -lnsl  -lcrypto >&5
Undefined                       first referenced
    symbol                             in file
dlclose                             /usr/local/lib/libcrypto.a(dso_dlfcn.o)
    (symbol belongs to implicit dependency /usr/lib/libdl.so.1)
dlsym                               /usr/local/lib/libcrypto.a(dso_dlfcn.o)
    (symbol belongs to implicit dependency /usr/lib/libdl.so.1)
dlopen                              /usr/local/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 conftest
configure:8267: $? = 1
configure: failed program was:
#line 8238 "configure"

I found that I was using openssl-0.9.6d (not c as I had originally posted).
When I removed the libcrypto.a installed by this version and went back
to openssl-0.9.6c and repeated the make and install, I was then able to
configure openssh-3.2.3p1 without problems.

So it seems that openssl-0.9.6d creates the problems above but that
openssl-0.9.6c  is fine. If anyone has an explanation for the errors reported
above I would be very interested to hear from them. In the meantime I can
at least get OpenSSH to compile now.

Original Message
-------------------
I have a Sun E250 running Solaris 2.8 plus latest patches. I have installed
OpenSSL and am trying to install openssh-3.2.3p1 but it drops out during
the configuration stage with the following error:

configure: error *** Can't find recent OpenSSL libcrypto ***

What I had done was:
openssl-0.9.6d
./config --prefix=/usr/local
make; make install

openssh-3.2.3p1
./configure --with-ssl-dir=/usr/local --with-tcp-wrappers
which gives the error message above.

libcrypto.a is in /usr/local/lib

Any suggestions as to why the openssh configure script is not finding this?

Thanks,
	Neil Calton
---

-- 
Neil Calton                                       E-mail:  N.Calton@rl.ac.uk
Business and Information  Technology              
Department                                     Tel: +44 1235 44 5740
Rutherford Appleton Lab.            Fax: +44 1235 44 5893
Chilton, Didcot, Oxon                  
OX11 0QX , England
URL: http://www.bitd.clrc.ac.uk/Person/N.B.M.Calton
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Jun 14 13:06:43 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:46 EST