Q: RUNPATH missing in libsmbldap.so but not other executables/libraries?
mjt at tls.msk.ru
Fri May 20 07:01:20 UTC 2022
19.05.2022 23:15, Michael Tokarev via samba-technical wrote:
> .... Maybe there can
> be some automated way to detect these things. Again, maybe wafsamba
> can help there.
Actually it should stop listing all dependencies of dependencies in
the link command when using shared libraries. Only static libs needs
their dependencies in the linker command line, not the shared libs.
This way the deps will be much more accurate because it will be
obvious when the dep becomes missing.
At the same time it should be possible to fix the random order of
the link-line arguments too.
Alexander, do you know maybe just a little bit how wafsamba works?
In particular, where does it expand dependencies recursively, and
how to tell it to stop the recursion if the given dependency is
a shared library?
More information about the samba-technical