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: libXrender.so.1: 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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.