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

chez010 test fails with libcb.so cannot open shared object file #285

Open
locallycompact opened this issue Apr 15, 2020 · 5 comments
Open
Labels
Installation Issue Problem compiling or running Idris

Comments

@locallycompact
Copy link

Hi, getting this when I try to build idris2, on NixOS under nix-shell -p clang -p gmp -p 'idrisPackages.with-packages(with idrisPackages; [contrib])' -p chez

chez/chez007: success
chez/chez008: success
chez/chez009: success
Exception: (while loading libcb.so) libcb.so: cannot open shared object file: No such file or directory
chez/chez010: FAILURE
@locallycompact locallycompact added the Installation Issue Problem compiling or running Idris label Apr 15, 2020
@ziman
Copy link
Collaborator

ziman commented Apr 15, 2020

The build works fine on my machine but maybe https://github.com/edwinb/Idris2/pull/255 broke something on NixOS? That change made codegen (and the generated scripts) use absolute paths.

@fabianhjr
Copy link
Contributor

fabianhjr commented Apr 15, 2020

Hi @locallycompact, I use the following options on the Makefile for NixOS and can compile current master:

# Add any optimisation/profiling flags for C here (e.g. -O2)
export OPT=-L/home/fabian/.nix-profile/lib -O2

@locallycompact
Copy link
Author

@fabianhjr Can't say that works for me sorry.

@fabianhjr
Copy link
Contributor

Could you try to clean and rebuild?

@locallycompact
Copy link
Author

Makes no difference sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Installation Issue Problem compiling or running Idris
Projects
None yet
Development

No branches or pull requests

3 participants