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

Error: Library "ctypes" in /usr/local/lib/ocaml/site-lib/ctypes is hidden #687

Open
yurivict opened this issue Aug 31, 2021 · 1 comment

Comments

@yurivict
Copy link

I have ocaml-ctypes-0.19.1 installed but the project ocaml-luv-0.5.10 breaks:

File "_build/.dune/default/src/c/dune", line 9, characters 12-18:
9 |  (libraries ctypes luv_c_function_descriptions threads)
                ^^^^^^
Error: Library "ctypes" in /usr/local/lib/ocaml/site-lib/ctypes is hidden
(unsatisfied 'exist_if').
Hint: try:
  dune external-lib-deps --missing --no-config --root . --ignore-promoted-rules --default-target @install --always-show-command-line --promote-install-files --release --only-packages luv -p 
@aantron
Copy link
Contributor

aantron commented Sep 22, 2021

I tried to reproduce this with opam, but the installation works. See aantron/luv#125 (comment). My first guess is that this is caused by Ctypes 0.19.1 packaging in a system package manager. I've asked @yurivict to give the exact commands that can be used to reprodue the error. We probably also need the name and version of the system.

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