#59230 closed defect (fixed)

nut @2.6.5 install fails - doesn't see openssl

Reported by: berniecase Owned by: Chih-Hsuan Yen <yan12125@…>
Priority: Normal Milestone:
Component: ports Version: 2.6.1
Keywords: Cc: yan12125 (Chih-Hsuan Yen)
Port: nut


Tried to upgrade to nut 2.6.5 today, but it failed on configure because it says openssl installed.

I uninstalled nut, and retried, fails in the same place.

Uninstalled openssl and reinstalled, and then retried nut install. Still fails.

configure:10361: checking for SSL_library_init
configure:10361: /usr/bin/clang -o conftest  -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch x86_64 conftest.c -L/opt/local/lib -lssl -lcrypto >&5
Undefined symbols for architecture x86_64:
  "_SSL_library_init", referenced from:
      _main in conftest-57b077.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:10361: $? = 1
configure: failed program was:

And gets here:

configure:10361: result: no
configure:10388: error: "OpenSSL not found, required for SSL support"

I'm attaching the config log here.

Attachments (1)

config.log (148.2 KB) - added by berniecase 14 months ago.

Download all attachments as: .zip

Change History (3)

Changed 14 months ago by berniecase

Attachment: config.log added


comment:1 Changed 14 months ago by jmroot (Joshua Root)

Cc: yan12125 added
Summary: nut install fails - doesn't see opensslnut @2.6.5 install fails - doesn't see openssl

Hmm, nut doesn't declare a dependency on openssl, even though it uses --with-ssl=yes.

comment:2 Changed 14 months ago by Chih-Hsuan Yen <yan12125@…>

Owner: set to Chih-Hsuan Yen <yan12125@…>
Resolution: fixed
Status: newclosed

In ad65546ae1ae46d4f8cc4688e27bab21580b95a5/macports-ports (master):

nut: update to 2.7.4

And use NSS instead of OpenSSL. That's how the Debian package works [1].

Closes #59230

[1] https://salsa.debian.org/debian/nut/blob/debian/2.7.4-10/debian/control#L13

Note: See TracTickets for help on using tickets.