LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   libcurl.so.3 (https://www.linuxquestions.org/questions/linux-newbie-8/libcurl-so-3-a-4175484749/)

Sharath Ravi 11-15-2013 11:57 PM

libcurl.so.3
 
Hi,

when trying to install
php-common-5.3.1-1.i386.rpm
php-cli-5.3.1-1.i386.rpm on Centos 6.4 32 bit

it shows error: Failed dependencies:
libcurl.so.3 is needed by php-common-5.3.1-1.i386

Can some please help me find libcurl.so.3.. Trying very hard to find seems impossible.

Thanks in advance..
Sharath

Spect73 11-16-2013 12:46 AM

Try in /usr/lib. Should be the library and a symlink to it.

Coordially

Sharath Ravi 11-16-2013 12:49 AM

hey,

i can only see libcurl.so.4 in /usr/lib/

Unable to libcurl.so.3 which is required for php.

Lennie 11-16-2013 02:55 AM

You have a newer version of curl. Are you trying to install php from the repo, or did you download the rpm? php should be in the repo (of most distros) and linked against the version of curl that's also in the repo. Which distro are you running?

murugesan 11-16-2013 04:54 AM

As per my search:
Related to Centos 6
Quote:

wget "ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/wvengen:/lgi/CentOS_CentOS-6/noarch/lgipilot-0.3-14.1.noarch.rpm"
which
Provides :
config(lgipilot)
bundled(libcrypto.so.0.9.7(x86-32))
bundled(libssl.so.0.9.7(x86-32))
bundled(libcurl.so.3(x86-32))
bundled(libidn.so.11(x86-32))
lgipilot

murugesan 11-16-2013 04:59 AM

I tried installing php in my machine
Quote:

$ cat /etc/redhat\-release
CentOS release 5.5 (Final)
$ uname -m
x86_64

Handling erros in my machine:

Quote:

$ wget ftp://rpmfind.net/linux/remi/enterpr...emi.x86_64.rpm


$ sudo rpm -ivh php-common-5.3.9-1.el4.remi.x86_64.rpm
warning: php-common-5.3.9-1.el4.remi.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 00f97f56
error: Failed dependencies:
libcrypto.so.4()(64bit) is needed by php-common-5.3.9-1.el4.remi.x86_64
libssl.so.4()(64bit) is needed by php-common-5.3.9-1.el4.remi.x86_64


$ wget ftp://ftp.muug.mb.ca/mirror/centos/5...8.2.x86_64.rpm


$ sudo rpm -ivh openssl097a\-0.9.7a\-11.el5_8.2.x86_64.rpm
Sudo invoked by [root] on [msdc] - Cmd run as root - Password for user root:
Preparing... ########################################### [100%]
1: openssl097a ########################################### [100%]


$ sudo rpm -ivh php-common-5.3.9-1.el4.remi.x86_64.rpm
warning: php-common-5.3.9-1.el4.remi.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 00f97f56
Preparing... ########################################### [100%]
WARNING : These php-* RPM are not official Fedora/Redhat build and
overrides the official ones. Don't file bugs on Fedora Project nor Redhat.
Use dedicated forums http://forums.famillecollet.com/
1: php-common ########################################### [100%]


All times are GMT -5. The time now is 11:35 AM.