My first question would be, what does your config line for openssh look
like?

On Solaris 8 Mine looks like this:

[root@poseidon /export/home/src/openssh-3.4p1]# ./configure
--with-tcp-wrappers --prefix=/usr/local/ssh --with-ssl-dir=/usr/local/ssl
--with-xauth=/usr/openwin/bin --with-privsep-user=nobody

I specify the location of the ssl dir explicitly, and everything works fine.

Another gotcha I ran into when installing OpenSSL 0.9.6.e was from the old
install (0.9.6.d). It hard linked libssl.so, and libcrypto.so to the old
versions. So when I reinstalled the newest openssl 0.9.6.e, it did not
remove, or overwrite these, so I had to do it myself. Your mileage may vary
though.

Good luck.

-----Original Message-----
From: Patrick Best-TM [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 11:33 AM
To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Cc: Warren Brennan-TM; Zlatan Vucenovic-TM; Michael Dana-TM; Shahid
Sharif-TM; Allan Yeung-TM; Bozidar Milovanovic-TM; Brenda Reid-TM; Don
Campbell-TM; Igor Silajev-TM; Jackson W. K. Wong-TM; Jan Norrie-TM;
Scott Wentzell-TM
Subject: Compiling OpenSSH 3.3 or 3.4 with OpenSSL 0.9.6e under Solaris
9


Hi Everyone; 

Under Solaris 9, 64bit mode on a Blade 100.  I've pkgrm'd the pre-installed
SUNssh packages and rebooted.

I've tried compiling both OpenSSH versions 3.3p1 and 3.4p1 against
self-compiled OpenSSL 0.9.6e libraries, but keep getting the same error
response from both versions in the ./configure stage.   Anyone have any
ideas?  



..../configure blah blah..... 
checking for getutxid... yes
checking for getutxline... yes
checking for pututxline... yes
checking for setutxent... yes
checking for utmpxname... yes
checking for daemon... no
checking for daemon in -lbsd... no
checking for getpagesize... yes
checking whether snprintf correctly terminates long strings... yes
checking whether getpgrp requires zero arguments... yes
configure: error: *** Can't find recent OpenSSL libcrypto (see config.log
for details) ***
----------------------------------------


Ok, so I checked out config.log and this is the entry that I found refering
to libcrypto.  It is looking for it in the right place, and the file does
exist there and OpenSSL did compile correctly (I checked the version of it
using the openSSL binaries).


----------------------------------------
configure:8130: gcc -o conftest -g -O2 -Wall -Wpointer-arith
-Wno-uninitialized -I/usr/local/ssl/include  -I/usr/loca
l/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/ssl/lib/libcrypto.a(dso_dlfcn.o)  (symbol belongs to implicit
dependen
cy /usr/lib/libdl.so.1)
dlsym
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)  (symbol belongs to implicit
dependen
cy /usr/lib/libdl.so.1)
dlopen
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)  (symbol belongs to implicit
dependen
cy /usr/lib/libdl.so.1)
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:8133: $? = 1
configure: failed program was:
#line 8104 "configure"





Wireless Data Network Specialist
IP Engineering
Telus Mobility 
(416) 684-3579
[EMAIL PROTECTED]
 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to