-
Notifications
You must be signed in to change notification settings - Fork 470
mdx stanzas do not work with shared libraries #10582
Copy link
Copy link
Closed
ocaml/opam-repository
#26101Description
While this is essentially #108 (specifically what I believe is the issue reported in the comment #108 (comment)), I think this warrants a separate issue for tracking since there doesn't seem to be a workaround that is usable with mdx.
Expected Behavior
mdx should be able to depend on libraries with foreign_archive stanzas.
Actual Behavior
We get an error Fatal error: cannot load shared library. Setting CAML_LD_LIBRARY_PATH appropriately will fix the error, but dune doesn't provide a mechanism to pass this in for mdx.
Reproduction
- PR with a reproducing test: test: reproduce 10582 #10583
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels