Friday, February 11, 2011

Fatal Python error: pycurl: libcurl link-time version is older than compile-time version

■ Incident  : Fatal Python error: pycurl: libcurl link-time version is older than compile-time version
■ OS Environment : Linux[RHEL, Centos]
■ Libraries :  libcurl
■ History : 
         I got the same error messages when I was installing another packages using yum. However to sort it out this error it took around 4 hours. As per the error message I know that old libcurl is being used rather than compiled libcurl. The reason is that I had to installed curl using source and I knew that curl already existed. My intention was to install updated curl on my WS. However, this made the problem to use the pycurl. Yum uses python-pycurl and curl depends on libcurl. This is the basic scenario. I sated this so that you can also sort it out this type issues by yourself using basic concept.

Error : 
$ yum update

Fatal Python error: pycurl: libcurl link-time version is older than compile-time version
Aborted

1. Find libcurl : 

$ locate libcurl

2. Then remove or rename all the libraries of libcurl.
3. Make a sym link :

$cd /usr/lib64/
$ ln -s libcurl.so.4 libcurl.so.4.1.1

4. Copy libcurl.so.4.1.1 from remote RHEL 6 server :

$cd /usr/lib64/
$ scp -r root@remote_RHEL6_server_ip:/usr/lib64/libcurl.so.4.1.1 ./

5. Checked md5sum of the files on both machine(You'll get a md5 ID and both will be same. This is to make it sure that data has not been lost. If both IDs are different then data has corrupted or lost. Need to copy in another way) :

$ md5sum libcurl.so.4.1.1

6. Download latest ;libcurl : 

$ cd /usr/local/src/
$ wget url_of_the_above_package

7. Upgrade this package  :

$ rpm -Uvh libcurl-7.19.7-16.el6.x86_64.rpm

8. update database :

$updatedb
$ldconfig

9. Now, you need to register your machine(if RHEL) with the RHN repo. Just execute following command and provide your RHN login details and proceed.

$rhn_register

10. Once you re-register the system execute the following command :

$yum clean all
$yum -y upgrade yum yum-rhn-plugin;
$yum update

11. Now you can install your desired package.


43 comments:

  1. Your very own commitment to getting the message throughout came to be rather powerful and have consistently enabled employees just like me to arrive at their desired goals.
    Python Training in Bangalore

    ReplyDelete
  2. if you want girls mobile numbers then this website is best for you . you can visit on this website and get their information and you also can meet with thrm and go for a date . click here to use our website --- 100% free online dating website

    ReplyDelete
  3. Attend The Python Training in Bangalore From ExcelR. Practical Python Training in Bangalore Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Python Training in Bangalore.

    ReplyDelete
  4. I learned World's Trending Technology from certified experts for free of cost. I Got a job in decent Top MNC Company with handsome 14 LPA salary, I have learned the World's Trending Technology from hadoop training in btm experts who know advanced concepts which can help to solve any type of Real-time issues in the field of Hadoop. Really worth trying

    ReplyDelete


  5. I love to read your articles because your writing style is too good, its is very helpful for all of us and I never get bored while reading your article. KEEP SHARING!!
    Machine Learning Training In Bangalore

    ReplyDelete
  6. I learned World's Trending Technology from certified experts for free of cost. I got a job in decent Top MNC Company with handsome 14 LPA salary, I have learned the World's Trending Technology from python training in btm layout experts who know advanced concepts which can help to solve any type of Real-time issues in the field of Python. Really worth trying Freelance SEO expert in Bangalore

    ReplyDelete
  7. I Have Already Read About This Blog. This is a Fantastic Blog. Thanks for Creating, I think this Blog Also Will helps you
    360 Digitmg data analytics course Malaysia

    ReplyDelete
  8. very nice amazing website your website is wonderfull thank you very much sir 먹튀 검증사이트

    ReplyDelete
  9. Great post i must say and thanks for the information. Education is definitely a sticky subject. However, is still among the leading topics of our time. I appreciate your post and look forward to more.
    360digitmg business analytics courses

    ReplyDelete
  10. I love to read your articles because your writing style is too good, its is very helpful for all of us and I never get bored while reading your article. KEEP SHARING!!
    android apps apkzm
    android apps apkzm
    android apps apkzm
    android apps apkzm
    android apps apkzm
    android apps apkzm
    android apps apkzm
    android apps apkzm
    android apps apkzm

    ReplyDelete
  11. This comment has been removed by the author.

    ReplyDelete
  12. Informative blog post,
    Digital Marketing Training in KPHB with 100% Internships & Job Assistance

    ReplyDelete
  13. Login Your TriumphFX Account To Read The Latest News About The Platform.

    ReplyDelete
  14. Join the Python Course in Hyderabad and participate in free workshops with AI Patasala. Candidates can pursue their dreams and reach the highest level in the field.
    Online Python Course in Hyderabad

    ReplyDelete
  15. Thanks For Sharing the way you presented is really amazing this helped me to gain a knowledge
    Best Software training institues

    ReplyDelete
  16. AximTrade Offers A Safe And Secure Platform To Do Forex Trading And CFDs And Our Customer Support Is Ready To Help You 24/7. You Can Easily Sign Up Your Aximtrade Login Account Here.

    ReplyDelete
  17. AximTrade Review Offers A Safe And Secure Platform To Do Forex Trading And CFDs And Our Customer Support Is Ready To Help You 24/7. You Can Easily Sign Up Your Aximtrade Login Account Here.

    ReplyDelete
  18. Is XM REVIEW Scam? Can They Be Trusted? What Are The Best Brokers? Check Out Our Detailed XM Review And Get The Answers To These Questions And Much More.

    ReplyDelete
  19. AVATRADE REVIEW Is A Relatively New Forex Broker, Which Offers Its Customers A Wide Range Of Trading Opportunities. Read All The Facts About This Broker In This Detailed Fx Choice Review.

    ReplyDelete
  20. This comment has been removed by the author.

    ReplyDelete
  21. Know the Latest Smartphone Smartphone Price with MobileErBazaar.com totaly free

    Some Peopole are want to know Vivo V23e price of bangladesh it's easy to know

    ReplyDelete
  22. During the process of enrollment you'll be able create your account username and password to gain access to your account.gemini exchange
    blockchain wallet
    btc wallet
    gemini wallet
    coinbase account recovery

    ReplyDelete
  23. Simply click on your card to connect it into Wells Fargo Online. If you encounter any issues or can't find your credit card contact customer servicebittrex login
    robinhood crypto wallet
    ronin wallet
    amazon.com/mytv
    amazon.com/code
    google play redeem code

    ReplyDelete
  24. I have to favored this site it appears to be out and out obliging. Top notch information, rebuild everyone mind just reference appoint help to it. YTD With Crack

    ReplyDelete
  25. Fine page, in which did u come happening a distant memory the assessment concerning this posting?i have right of access the majority of the articles with respect to your web website now, and I as a matter of fact in addition to your style. much thanks to you a million and absorb save happening the vivacious deed. https://cyberspc.com/re-loader-activator-crack/

    ReplyDelete
  26. Nice article, thanks for the information. If you are interested in medical treatment in turkey, I definitely recommend looking brachytherapy in turkey.

    ReplyDelete
  27. This blog is a useful, up-to-date resource with interesting information. Check our IT Certification Course by SkillUp Online.

    ReplyDelete