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

SONAME fails to match library name #785

Closed
tim-janik opened this Issue Sep 14, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@tim-janik

tim-janik commented Sep 14, 2016

The shared_library argument name_prefix that can be used to e.g. strip 'lib' from the library name of a dynamic module isn't reflected in the actual SONAME. Linker lookups rely on SONAME to match library file names, so this potentially breaks DSO dependencies. A test case exists already in 'meson/test cases/python3/2 extmodule':

test cases/python3/2 extmodule>$ mkdir b && meson.py b && ninja -C b && objdump -p b/ext/tachyon.so | fgrep SONAME
[...]
[2/2] Linking target ext/tachyon.so
SONAME libtachyon.so

jpakkane added a commit that referenced this issue Sep 18, 2016

@jpakkane jpakkane closed this in 4dc798d Oct 9, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment