Library loading path

Information about the loading path of Ubuntu libraries.

Load path of library of package installed by apt

The library of the package installed by apt is in "/ usr / lib / x86_64-linux-gnu".

/ usr / lib / x86_64-linux-gnu

Check the library loading path

Look in "/etc/" to check the loading path of the library.

cat /etc/

Looking at the contents, it is further included.


So, let's output all the read files with cat command.

$cat /etc/*.conf

# libc default configuration
/ usr / local / lib
#Multiarch support
/ usr / local / lib / x86_64-linux-gnu
/ lib / x86_64-linux-gnu
/ usr / lib / x86_64-linux-gnu

Associated Information