O'Reilly logo

CLI for Noobies: A Primer on the Linux Command Line by Joe Barr

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required