Skip to content

Conversation

@michaelortmann
Copy link
Member

@michaelortmann michaelortmann commented Nov 18, 2025

Found by: https://github.com/michaelortmann
Patch by: https://github.com/michaelortmann
Fixes:

One-line summary:
Show tls library name in status

Additional description (if needed):
This could also fix .status showing something like:
Tcl library: //zipfs:/lib/tcl/tcl_library
instead of the name/path of the tcl lib
dladdr() is not POSIX, but it is available under solaris, linux and bsd and we can autoconf for it.

Test cases demonstrating functionality (if applicable):
.status
Before:

[...]
Tcl library: /usr/lib/tcl8.6
Tcl version: 8.6.16 (header version 8.6.16)
Tcl is threaded.
TLS support is enabled.
TLS library: OpenSSL 3.6.0 1 Oct 2025 (header version OpenSSL 3.6.0 1 Oct 2025)
[...]

After:

[...]
Tcl library: /usr/lib/tcl8.6
Tcl version: 8.6.16 (header version 8.6.16)
Tcl is threaded.
TLS support is enabled.
TLS library: /usr/lib/libssl.so.3
TLS version: OpenSSL 3.6.0 1 Oct 2025 (header version OpenSSL 3.6.0 1 Oct 2025)
[...]

TODO: additional, testing with static linking and windrop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant