Bug 603

Summary: configure: error: OpenSSL version header not found
Product: Portable OpenSSH Reporter: Raja Rajan <raja.rajan>
Component: Build systemAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED INVALID    
Severity: major CC: longwave
Priority: P2    
Version: 3.6.1p2   
Hardware: UltraSPARC   
OS: SunOS   

Description Raja Rajan 2003-06-26 04:18:34 AEST
We're getting following errors(checking OpenSSL header version... not found
configure: error: OpenSSL version header not found.)  when we install openSSH 
in Solaris 2.8. 

 dbtest-root:/opt/openssh-3.6p1
#./configure --prefix=/opt --sysconfdir=/etc/ssh --with-dir-ssl=/usr/local/ssl

::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::
checking for setutent... yes
checking for utmpname... yes
checking for endutxent... yes
checking for getutxent... yes
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
checking OpenSSL header version... not found
configure: error: OpenSSL version header not found.

We have prngd & EGD installed in this box. Also we have configured openSSL 
without any errors... Please help...
Comment 1 Ben Lindstrom 2003-06-26 06:31:06 AEST
Check to see if you have an LD_LIBRARY_PATH set.  If so unset it and try 
again.  Also try without the --with-dir-ssl=.

If either/both work.. Please mark it as a dup of bug #601.

- Ben
Comment 2 Thomas Binder 2003-06-26 19:16:38 AEST
> ./configure --prefix=/opt --sysconfdir=/etc/ssh --with-dir-ssl=/usr/local/ssl

As the correct configure option is --with-ssl-dir: did you really specify
--with-dir-ssl, or is that a typo in the bug report only?
Comment 3 Darren Tucker 2003-07-07 19:34:19 AEST
Please re-open if you can reproduce with --with-dir-ssl.
Comment 4 Darren Tucker 2003-07-07 19:55:22 AEST
Whoops, make that --with-ssl-dir.
Comment 5 longwave 2009-03-17 23:09:13 AEDT
To solve this problem on Solaris7 for x86 we used the following options to configure:

/configure --with-dir-ssl=/usr/local/ssl --with-ldflags="-L/usr/local/ssl/lib" --with-cppflags="-I/usr/local/ssl/include”