llvm-ocaml-tutorial
llvm-ocaml-tutorial copied to clipboard
Unable to execute - cannot open libbindings.so
When I try to build with a simple dune command it fails.
impor@DESKTOP-MBJ4H1S:~/llvm-ocaml-tutorial$ dune exec bin/kaleidoscope.exe
bin/kaleidoscope.exe: error while loading shared libraries: libbindings.so: cannot open shared object file: No such file or directory
#1 shows other users are having the same problem.
The .so
file needs to be added to the library path.
On my ubuntu, after running export LD_LIBRARY_PATH=/path/to/libbindings.so
, it works.
for #1, the project compiles and runs on OCaml 4.12.0. (though it looks not updating now)