Skip to content

Set SONAME on created libraries #190

@incaseoftrouble

Description

@incaseoftrouble

After some debugging (I'm trying to load prism's libraries without messing with LD_LIBRARY_PATH through System.load), I noticed that prism's shared libraries are created without SONAME, which causes issues on linux.

To fix this problem, one would need to add -Wl,-soname,$(LIBPREFIX)dd$(LIBSUFFIX) to $(LDFLAGS) when building for linux. I'm currently hacking this issue by running patchelf.

I'm not an expert on anything C / C++ related, so this might be a bad idea, but as far as I understood, doing so is recommended.

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