I’m a long time linux user who just switched to using a mac, and I’m running into a problem getting my eliom projects to launch on ocsigenserver when using sqlite or pgsql for the persistent data backend (PERSISTENT_DATA_BACKEND = sqlite
in my Makefile.options
file for my eliom project).
Error from make test.byte
:
ocsigenserver -c local/etc/<eliom_project_name>/<eliom_project_name>-test.conf
ocsigenserver: main: Fatal - While loading /Users/<my_comp_name>/.opam/default/lib/sqlite3/sqlite3.cma: error loading shared library: error loading shared library: Failure("dllsqlite3_stubs.so: dlopen(dllsqlite3_stubs.so, 0x000A): tried: 'dllsqlite3_stubs.so' (no such file), '/usr/local/lib/dllsqlite3_stubs.so' (no such file), '/usr/lib/dllsqlite3_stubs.so' (no such file), '/Users/<my_comp_name>/<eliom_project_name>/web/dllsqlite3_stubs.so' (no such file), '/usr/local/lib/dllsqlite3_stubs.so' (no such file), '/usr/lib/dllsqlite3_stubs.so' (no such file)")
make: *** [test.byte] Error 52
My sqlite3 module works just fine on its own. I’ve tried all the mac specific items mentioned at GitHub - mmottl/sqlite3-ocaml: OCaml bindings to the SQLite3 database, but no luck.
Have any other mac/eliom users run into this issue?
Thanks!