Skip to content

mdx stanzas do not work with shared libraries #10582

@mt-caret

Description

@mt-caret

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions