Old libraries required by a binary program
Jump to navigation
Jump to search
Context
- Sometimes binary programs (especially games) will require different versions of libraries than the one installed on your Gentoo system. This will prevent the application from starting until you provide it with the expected library.
Using libraries installed by Steam
- Steam installs a lot of those libraries (like libcurl-gnutls.so.4, libgcrypt.so.11, etc) into ~/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/ and other directories. The libraries seem to be taken from Ubuntu.
- The easiest solution can be to use those libraries by changing the LD_LIBRARY_PATH variable like this:
LD_LIBRARY_PATH="/home/elvanor/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/" ./Civ6