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 (libc6,x86-64) => /lib64/

“-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: Logo

You are commenting using your 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.