[Slackbuilds-users] precompiled "sources" missing libraries

B. Watson urchlay at slackware.uk
Sun Sep 24 03:57:44 UTC 2023



>       How do we check if a package is really missing some libs? SBo has
>       scripts that just repackage the binaries provided by upstream. Using
>       sbbdep can tell if a package is missing libs in the standard
>       locations. However, many of these precompiled programs ship with their
>       own libs installed in a custom location. Yet, sbbdep will see these as
>       missing.

I never used sbbdep, but try setting LD_LIBRARY_PATH=/path/to/libs. E.g. if
you have /opt/someprogram/lib:

root at host# LD_LIBRARY_PATH=/opt/someprogram/lib sbbdep

This probably will work as sbbdep probably just uses ldd to find libs,
and ldd respects the LD_LIBRARY_PATH variable.


More information about the SlackBuilds-users mailing list