Package Requires: libcurl.so.3

12,439

Solution 1

This is strange as yum typically tries to resolve dependencies. Try installing libcurl manually:

yum install libcurl libcurl-devel

Solution 2

in my situation I solved my problem by enabling rpmforge-extras repository in yum.repos:

thanks to this

> cat /etc/yum.repos.d/rpmforge.repo 
...
[rpmforge-extras]
...
enabled = 0
Share:
12,439
Vincent
Author by

Vincent

Updated on June 04, 2022

Comments

  • Vincent
    Vincent almost 2 years

    Mysql is not working with PHP. I got a blank white page on my website. and I'm looking for the problem, for some reasons, i found out that my php version doesn't have a mysql version. So look for some solutions and here's what I've gone so far. I tried to update my php version and mysql. I got this error after executing this command

    yum install -y php php-mysql
    

    i have a centOS 6.4 and a php 5.3.3 . and my php doesn't have a mysql support. what should i do? and after i execute the said command (yum install -y php php-mysql). I got an error message. Is there something wrong with my code?

    Error: Package: php-common-5.3.27-2.w5.i386 (webtatic)  Requires: libcurl.so.3
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest
    
  • Vincent
    Vincent over 10 years
    I still go the same error after doing your command and then yum install -y php php-mysql :( what to do? what to do? :(
  • Alexander L. Belikoff
    Alexander L. Belikoff over 10 years
    Try installing package curl and re-trying.
  • Alexander L. Belikoff
    Alexander L. Belikoff over 10 years
    Yes: yum -i curl and then yum -i php-common