Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#47091 closed defect (invalid)

openssl header, library versions inconsistent

Reported by: urilabob@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: larryv (Lawrence Velázquez), neverpanic (Clemens Lang)
Port: openssl

Description

According to macports, all ports are currently up-to-date. Running the configure file for nxssh, I get:

./configure --includedir=/opt/local/include/openssl --with-ssl-dir=/opt/local/bin/openssl
.
.
.
checking OpenSSL header version... 9081af (OpenSSL 0.9.8za 5 Jun 2014)
checking OpenSSL library version... 9081cf (OpenSSL 0.9.8zc 15 Oct 2014)
checking whether OpenSSL's headers match the library... no
configure: error: Your OpenSSL headers do not match your
library. Check config.log for details.

The error message seems to be correct (the versions really do not match). I apologise if it's a mis-configuration or misunderstanding on my part. Could someone check, and if necessary update the headers in the port? I could run configure with --without-openssl-header-check, but without deeper knowledge than I have, that seems dangerous.

Change History (3)

comment:1 Changed 10 years ago by neverpanic (Clemens Lang)

Cc: larryv@… cal@… added
Resolution: invalid
Status: newclosed

OpenSSL 0.9.8* is the version shipped by Apple. MacPorts provides 1.0.2. You are getting Apple's headers, not MacPorts'.

Try --with-ssl-dir=/opt/local, but ultimately, this is not a bug in the openssl port, but a misconfiguration on your end and you'd have to consult with the developers of nxssh to find out which configure parameters they expect and how to point it to a different openssl.

Also, when reporting bugs against ports, please Cc the maintainers, if any.

comment:2 in reply to:  1 ; Changed 10 years ago by urilabob@…

Replying to cal@…:

OpenSSL 0.9.8* is the version shipped by Apple. MacPorts provides 1.0.2. You are getting Apple's headers, not MacPorts'.

Sorry for my misunderstanding.

Try --with-ssl-dir=/opt/local, but ultimately, this is not a bug in the openssl port, but a misconfiguration on your end and you'd have to consult with the developers of nxssh to find out which configure parameters they expect and how to point it to a different openssl.

Thank you for your extra mile in clarification - I really needed it. In the end, it was necessary to set up a suitable shell environment, but your hint was the crucial one in getting there.

Also, when reporting bugs against ports, please Cc the maintainers, if any.

My apologies, I didn't realise this wasn't automated in the tracker,

Thanks and Best Wishes Bob

comment:3 in reply to:  2 Changed 10 years ago by neverpanic (Clemens Lang)

Replying to urilabob@…:

Also, when reporting bugs against ports, please Cc the maintainers, if any.

My apologies, I didn't realise this wasn't automated in the tracker,

We'd like it to be, and there's code that does it, but it isn't always easy to get Mac OS Forge to install everything we want.

Glad you could fix it, though.

Note: See TracTickets for help on using tickets.