Dave's Brain

Browse - Computer Tips - Why am I getting an error about a shared library (.so file) not found

Date: 2015jul8
OS: Linux

Q.  Why am I getting an error about a shared library (.so file) not found
when it exists?

A.  You probably need to add it to the search path.
On RedHat/Fedora/CentOS make a file in  /etc/ld.so.conf.d
Called, for example, myapp.conf which contains the folders where your
.so's are found -- one line each.  Then run:

ldconfig
So its reloaded.

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.