Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
SONAME fails to match library name #785
Comments
jpakkane
added a commit
that referenced
this issue
Sep 18, 2016
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
tim-janik commentedSep 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