[SOLVED] Unable to use cmake any many other commands after yum update
Red HatThis forum is for the discussion of Red Hat Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Unable to use cmake any many other commands after yum update
I just did a yum update on my system on redhat 5.4. After that I am unable to use many commands like cmake,make etc. It is giving below error.
cmake: error while loading shared libraries: libcurl.so.3: wrong ELF class: ELFCLASS32
I did few searches and found it is due to 32 bit libcurl file instead of 64 bit on my 64 bit system.I removed curl.i386 using "rpm -e --nodepend libcurl.i386" command, but still it is giving me same error.
Below are outputs of other commands that i ran as google suggested.
ldconfig -p | grep libcurl
libcurl.so.4 (libc6,x86-64) => /lib/libcurl.so.4
libcurl.so.4 (libc6,x86-64) => /usr/lib64/libcurl.so.4
libcurl.so.3 (libc6) => /usr/lib64/libcurl.so.3
libcurl.so (libc6,x86-64) => /lib/libcurl.so
libcurl.so (libc6,x86-64) => /usr/lib64/libcurl.so
After removal libcurl is not present in /usr/lib but it is still present in /usr/lib64
Can i somehow remove libcurl.so.3 from ldconfig or any other solution to link it correctly. Thanks.
My best guess is it was not a bad update. I have tried to do several changes in the system that i don't understand fully. Only issue was even removing and reinstalling libcurl is not helping at all. Anyways I think I will do stuff in vm instead.Thanks.