Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to execute - cannot open libbindings.so #2

Open
Devon7925 opened this issue Apr 14, 2020 · 2 comments
Open

Unable to execute - cannot open libbindings.so #2

Devon7925 opened this issue Apr 14, 2020 · 2 comments

Comments

@Devon7925
Copy link

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.

@arbipher
Copy link

arbipher commented Sep 7, 2021

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.

@arbipher
Copy link

arbipher commented Sep 7, 2021

for #1, the project compiles and runs on OCaml 4.12.0.
(though it looks not updating now)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants