make rpm find dependencies in a specific location
I was trying to install a software through rpm. However, it requires glibc-2.15. We only have glibc-2.12 on CentOS-6. I have installed a glibc-2.15 at a separate location.
So how can I make rpm to look for the libraries in the glic-2.15 location? I found a rpmrebuild tool, but not sure what to add.
Solution 1:
This is not possible. rpm
knows only about files that have been installed by an rpm (it keeps an internal database with installed files). So the best solution is to repackage yourself glibc-2.15 (using rpmbuild --rebuild
)