Summary: | net/socat linked to wrong SSL library | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Dave Hayes <dave> |
Component: | Individual Port(s) | Assignee: | Emanuel Haupt <ehaupt> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | Flags: | bugzilla:
maintainer-feedback?
(ehaupt) |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | amd64 | ||
OS: | Any |
Description
Dave Hayes
2024-03-05 23:55:50 UTC
I should mention I am on 13.2-STABLE: stable/13-c2c7340fef Confirmed on 14.0. The CHANGES file has the following note about LibreSSL: LibreSSL does not have OPENSSL_INIT_new(). This function is now guarded. Socat might build with LibreSSL. Thanks to Orbea for reporting and helping. I found a solution: Adding CONFIGURE_ARGS+= --enable-openssl-base=${LOCALBASE} solves the issue. It's now linked against LibreSSL: # ldd $(which socat) | grep -e ssl -e crypto libssl.so.55 => /usr/local/lib/libssl.so.55 (0x3dfee7f69000) libcrypto.so.52 => /usr/local/lib/libcrypto.so.52 (0x3dfee9e4a000) A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=9a7e609520a27bc4d94c03fc78d8a89bbe9fa856 commit 9a7e609520a27bc4d94c03fc78d8a89bbe9fa856 Author: Emanuel Haupt <ehaupt@FreeBSD.org> AuthorDate: 2024-03-10 11:49:24 +0000 Commit: Emanuel Haupt <ehaupt@FreeBSD.org> CommitDate: 2024-03-10 11:49:31 +0000 net/socat: Ensure socat respects non-default SSL libraries PR: 277517 (based on) Reported by: dave@jetcafe.org net/socat/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) Fix committed, thanks for the report! Thanks for the quick fix! :) Was changing the status from "closed" to "in progress" a mistake, or are there still unresolved issues? I am still getting the issue actually. I am now working on HEAD, and I pull before I work each time. To confirm it's not me, is that ssl= line correct? :) (In reply to Dave Hayes from comment #8) Ah pardon me, wrong package set. I build way too many different sets. I see the proper libraries in the binary. You can close this. No worries, issue closed. |