I'm currently fighting with a strange linker issue from ocsigenserver
. It's apparently looking for ocaml-related openssl dynamic libraries. I have both done a brew install openssl
(at latest version) and also an opam install openssl
. But I still get the following error:
ocsigenserver -c /usr/local/etc/web/web.conf
Fatal error: cannot load shared library dllssl_threads_stubs
Reason: dlopen(dllssl_threads_stubs.so, 138): image not found
I am not sure what's going on here. If I do an openssl link
I get
Warning: Refusing to link: openssl
Linking keg-only openssl means you may end up linking against the insecure,
deprecated system OpenSSL while using the headers from Homebrew's openssl.
Instead, pass the full include/library paths to your compiler e.g.:
-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib
Which implies to me that I might need to force ocsigen's build to include these flags, but I'm not sure if I'm on the right track. I feel like this must indicate that eliom
or ssl
must be installed incorrectly, and yet I've just opam reinstall
ed them.