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.


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)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.