Open dboris opened 6 years ago
eliom-distillery -name myapp -template os.pgocaml ... make test.byte ... ocsigenserver: ocsigen:main: Fatal - Error in configuration file: Error while parsing configuration file: Eliom: while loading /Users/boris/.opam/4.06.1/lib/safepass/safepass.cma: error loading shared library: dllsafepass_stubs.so: dlopen(dllsafepass_stubs.so, 10): image not found make: *** [test.byte] Error 50
For the record, on macOS I have to change OCSIGENSERVER := DYLD_LIBRARY_PATH=$(shell opam var lib)/stublibs ocsigenserver in the Makefile to fix the test.byte target. Not sure if there is a better solution.
OCSIGENSERVER := DYLD_LIBRARY_PATH=$(shell opam var lib)/stublibs ocsigenserver
See also: https://github.com/ocsigen/ocsigen-start/issues/511
eliom-distillery -name myapp -template os.pgocaml ... make test.byte ... ocsigenserver: ocsigen:main: Fatal - Error in configuration file: Error while parsing configuration file: Eliom: while loading /Users/boris/.opam/4.06.1/lib/safepass/safepass.cma: error loading shared library: dllsafepass_stubs.so: dlopen(dllsafepass_stubs.so, 10): image not found make: *** [test.byte] Error 50