Chapter 25. ldconfig and Friends

There will come a day when you will want or need a program that isn’t included or supported by your distribution of choice. If you build the needed application from source code, you might still not be able to run it because of missing dependencies.

Nothing is more frustrating than fighting your way through that unsupported landscape, including finding and building the missing libraries, only to still get an error message like this one: “error while loading shared libraries: cannot open shared object file: No such file or directory.”

What ldconfig Does

That’s where ldconfig comes in, and why it pays for even the occasional visitor to the command line to know a little about what it does and how to use ...

Get CLI for Noobies: A Primer on the Linux Command Line now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.