SONAME fails to match library name #785

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

Projects

None yet

1 participant

@tim-janik

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 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