Menu

#64 Darwin compilation depends on concrete libssl version, which may not be present on the system

open
nobody
Darwin (1)
5
2016-09-15
2016-09-15
No

tls is compiled (by Christian) on a recent MAC featuring the following libssl:

ls -lh /usr/lib/libssl.*
-rwxr-xr-x  1 root  wheel   394K 12 Mär  2016 /usr/lib/libssl.0.9.7.dylib
-rwxr-xr-x  1 root  wheel   614K  9 Jul 04:52 /usr/lib/libssl.0.9.8.dylib
-rw-r--r--  1 root  wheel   948K  9 Jul 04:52 /usr/lib/libssl.35.dylib
lrwxr-xr-x  1 root  wheel    18B  1 Apr 01:18 /usr/lib/libssl.dylib -> libssl.0.9.8.dylib 

The resulting tls.dynlib depends on "libssl.0.9.8.dynlib".

When loading this tls.dynlib on Mac-OS 10.5.8, the tcl interpreter terminates with:

Library not loaded: /usr/lib/libssl.0.9.8.dylib
Reason: image not found

This system has:

$ ls /usr/lib/libssl*
libssl.0.9.7.dylib  libssl.0.9.dylib    libssl.dylib

It would be great, if the compiled library would only depend on "libssl.dynlib" and no particular version.

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.