ocsigen / eliom

Multi-tier framework for programming web and mobile applications in OCaml.
http://eliom.org
Other
298 stars 52 forks source link

Error building the demo app #564

Open dboris opened 6 years ago

dboris commented 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

dboris commented 2 years ago

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.

jrochel commented 2 years ago

See also: https://github.com/ocsigen/ocsigen-start/issues/511