Checking libraries location with ldconfig


You can check location of libraries with ldconfig. For example, if you are looking for libffi

% ldconfig -p | grep ffi
libffi.so.6 (libc6,x86-64) => /lib64/libffi.so.6

“-p” – Print the lists of directories and candidate libraries stored in the current cache.

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.