Hi, I've been trying to create an ocaml top-level (redo-ocaml) including the Sqlite3 module. No matter what I try, the Sqlite3 module is unknown when I run the top-level. I've looked into the resulting file and the sqlite stub C functions appear in the file (ie I see them with the "strings" utility), and it seems to have references to all the Sqlite3 functions in the sqlite library too. But "open Sqlite3;;" never works; the Sqlite3 modules is ever "unbound".
I only get errors in building it if I omit the "sqlite3_stubs" library. Is this possible, or is there something I'm missing? I've included a list of the incantations I've tried so far, none to any avail. Thanks Tim S. ocamlmktop -o redo-ocaml unix.cma nums.cma str.cma bigarray.cma sqlite3/sqlite3.cma ocamlmktop -o redo-ocaml unix.cma nums.cma str.cma bigarray.cma sqlite3.cma ocamlmktop -o redo-ocaml unix.cma nums.cma str.cma bigarray.cma ocamlmktop -custom -o redo-ocaml unix.cma nums.cma str.cma bigarray.cma sqlite3/sqlite3.cma -dllib -lsqlite3 -dllpath ~/install/lib -ccopt -L/usr/lib/ocaml/3.10.0/sqlite3/ ocamlmktop -custom -o redo-ocaml unix.cma nums.cma str.cma bigarray.cma sqlite3/sqlite3.cma -dllib -lsqlite3 -ccopt -L/usr/lib/ocaml/3.10.0/sqlite3/ ocamlmktop -custom -o redo-ocaml unix.cma nums.cma str.cma bigarray.cma sqlite3/sqlite3.cma -dllib -lsqlite3 ocamlmktop -custom -o redo-ocaml unix.cma nums.cma str.cma bigarray.cma sqlite3/sqlite3.cma -dllib -llibsqlite3.so -ccopt -L/usr/lib/ocaml/3.10.0/sqlite3/ ocamlmktop -custom -o redo-ocaml unix.cma nums.cma str.cma bigarray.cma sqlite3/sqlite3.cma -dllib -llibsqlite3.so ocamlmktop -custom -o redo-ocaml unix.cma nums.cma str.cma bigarray.cma sqlite3/sqlite3.cma -cclib -lsqlite3 -ccopt -L/usr/lib/ocaml/3.10.0/sqlite3/ ocamlmktop -custom -o redo-ocaml unix.cma nums.cma str.cma bigarray.cma sqlite3/sqlite3.cma -cclib ~/install/lib/libsqlite3.so -L /usr/lib/ocaml/3.10.0/sqlite3/ ocamlmktop -custom -o redo-ocaml unix.cma nums.cma str.cma bigarray.cma sqlite3/sqlite3.cma -cclib ~/install/lib/libsqlite3.so -ccopt -L/usr/lib/ocaml/3.10.0/sqlite3/ ocamlmktop -custom -o redo-ocaml unix.cma nums.cma str.cma bigarray.cma sqlite3/sqlite3.cma -cclib ~/install/lib/libsqlite3.so -cclib /usr/lib/ocaml/3.10.0/sqlite3/libsqlite3_stubs.a ocamlmktop -custom -o redo-ocaml unix.cma nums.cma str.cma bigarray.cma sqlite3/sqlite3.cma -cclib ~/install/lib/libsqlite3.so ocamlmktop -custom -o redo-ocaml unix.cma nums.cma str.cma bigarray.cma -dllib -lsqlite3 -dllpath ~/install/lib sqlite3/sqlite3.cma ocamlmktop -custom -o redo-ocaml unix.cma nums.cma str.cma bigarray.cma -dllib -lsqlite3 -dllpath ~/install/lib -ccopt -L/usr/lib/ocaml/3.10.0/sqlite3/ sqlite3/sqlite3.cma ocamlmktop -custom -o redo-ocaml unix.cma nums.cma str.cma bigarray.cma -cclib -lsqlite3 -dllpath ~/install/lib sqlite3/sqlite3.cma ocamlmktop -custom -o redo-ocaml unix.cma nums.cma str.cma bigarray.cma -cclib -lsqlite3 -dllpath ~/install/lib -ccopt -L/usr/lib/ocaml/3.10.0/sqlite3/ sqlite3/sqlite3.cma ocamlc -make-runtime -custom -o redo-ocaml unix.cma nums.cma str.cma bigarray.cma sqlite3/sqlite3.cma -cclib ~/install/lib/libsqlite3.so -ccopt -L/usr/lib/ocaml/3.10.0/sqlite3/ -- You received this message because you are subscribed to the Google Groups "ocaml-developer" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ocaml-developer?hl=en For other OCaml forums, see http://caml.inria.fr/resources/forums.en.html
