1833759 Members
2364 Online
110063 Solutions
New Discussion

openssh configure error

 
SOLVED
Go to solution
William Harris_3
Occasional Contributor

openssh configure error

i'm receiving the following message when attempting to execute configure for openssh 3.6.1:

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

any ideas on how i can get beyond this?

thanks in advance,

7 REPLIES 7
Paul Sperry
Honored Contributor

Re: openssh configure error

LD_LIBRARY_PATH need NOT be set; LD_RUN_PATH MUST be set, but just in the
*compilation* environment.

Using sh or ksh, you can do:

LD_RUN_PATH=/usr/local/ssl/lib configure --with-ssl-dir=/usr/local/ssl

then:

LD_RUN_PATH=/usr/local/ssl/lib make

You should then get binaries that work fine, without any setting of LD_LIBRARY_PATH
or LD_RUN_PATH:
John Dvorchak
Honored Contributor

Re: openssh configure error

Maybe this link will be helpfull. But it looks to me that you don't have all of the libraries installed or the make is looking in the wrong place.

http://www.atomicgears.com/papers/osshhpux.html
If it has wheels or a skirt, you can't afford it.
Bill Douglass
Esteemed Contributor

Re: openssh configure error

According to the HP Porting & Archive Centre, OpenSSH 3.6.1 has the following dependencies:

libiconv openssl perl tcp_wrappers zlib

All are available at http://hpux.cs.utah.edu/, along with compiled and source versions of OpenSSH 3.6.1 (http://hpux.cs.utah.edu/hppd/hpux/Networking/Admin/openssh-3.6.1p1/)
William Harris_3
Occasional Contributor

Re: openssh configure error

i set the LD_RUN_PATH, and the libcrypto.a file is being accessed (ls -lu), however i still receive the error.
Michael Burbury
Frequent Advisor
Solution

Re: openssh configure error

Hi,

Check the documentation for OpenSSH, you may find it requires a specific verion of OpenSSL and the library you have may be old, hence the wording "recent" in the error message.

It could be trying to locate a library function that may not exist in your version of OpenSSL. The B_Safe OpenSSL that comes with Apache 2.0.43 seemed to work OK for me.

Cheers...
William Harris_3
Occasional Contributor

Re: openssh configure error

i installed the latest version of openssl, and this worked! thanks everyone for their help.
Rick Greene_1
Frequent Advisor

Re: openssh configure error

I've been unable to reach either of the US mirrors of the HPUX Porting Center for several months.

I have been using the UK mirror:

http://hpux.connect.org.uk/

The Wisconsin site has been saying it's "currently unavailable" for some time now, and the UT site doesn't respond at all.