I have a package (.rpm) on CentOS 6.5 that requires a .so file, which I also have on my machine. When I attempt to install the package I get an error stating unresolved dependencies regarding the .so file. I have tried placing the .so file in the same directory, in /lib/, in /usr/lib/, and setting the path of LD_LIBRARY_PATH to /usr/lib/, but regardless the package does not resolve the dependency, how can I make the .so available to the package I am installing?
What is the output of
yum provides /full/path/to/file.so ? As first comment suggested, the so might be installed outside rpm db (e.g. manually compiled or copied). Some non-official rpms are poorly packaged, and rely on dependencies in the developer's machine. It would help if you could provide the package name and source.
.so is present and you know it satisfies the requirements (version wise etc.) you can install the package with
rpm --nodeps. However that is not a recommended practice.
As per @Centimane's comment, if the .so file is provided by an rpm, and that rpm is not installed on your system, it might be a good idea (depending on versions and making sure this would not break currently installed apps) to install the .so with the rpm found in the output of the
yum provides command.
yum provides /full/path/to/file.so yum install <package name found by previous command>
Or even directly
yum install /full/path/to/file.so