Chinaunix

标题: Failed dependencies: libcurl.so.4()(64bit) is needed [打印本页]

作者: smallstarli    时间: 2013-08-19 10:37
标题: Failed dependencies: libcurl.so.4()(64bit) is needed
[root@localhost ~]# rpm -qa|grep -i curl
curl-devel-7.15.5-2.el5
curl-7.15.5-2.el5
curl-7.15.5-2.el5
curl-devel-7.15.5-2.el5
RHEL5.6不能装 php-common-5.5.0-2.el5.remi.x86_64.rpm这个包吗。
error: Failed dependencies:
        libcurl.so.4()(64bit) is needed by php-common-5.5.0-2.el5.remi.x86_64
        php-pecl-jsonc is needed by php-common-5.5.0-2.el5.remi.x86_64
装这个版本的包时候,没有提示错误:
php-common-5.1.6-27.el5_7.5.x86_64.rpm

是啥问题,不兼容还是我少了什么东西  我该装什么包呢
作者: chenyx    时间: 2013-08-19 10:45
你的php版本太高了吧.5.6貌似有5.3的php包,你看看吧
作者: smallstarli    时间: 2013-08-19 10:49
就是装包的话,RHEL5.6最高只能装php5.3啊。
作者: chenyx    时间: 2013-08-19 10:52
没有测试过.
那个curl的so我在6.x的系统上能找到,5上只能找到.so.3
作者: smallstarli    时间: 2013-08-19 10:52
源码编译的话,可以用5.5 ,但是RHEL5.6的rpm包最高只到5.3  是这个意思不?
作者: chenyx    时间: 2013-08-19 10:54
源码编译,你需要自己解决依赖的库.理论上你可以源码安装最新发布的源码软件.
我没有5.6的系统,只有5.5和5.8的系统.
作者: smallstarli    时间: 2013-08-19 11:09
了解了~~~~~那还是用旧版本的好了
作者: chenyx    时间: 2013-08-19 11:11
php-5.3应该能安装上吧.
作者: smallstarli    时间: 2013-08-19 11:14
找不到5.3的包 5.2的也找不见
作者: smallstarli    时间: 2013-08-19 11:15
就copy你的5.1.6使用很正常,等我会用源码装了,再换最新的吧
作者: smallstarli    时间: 2013-08-19 11:29
我这个电脑源码安装mysql的时候。make install,到往mysql里面写mysql-test这个文件夹的时候就会停住,走不下去,也没有任何警告跟错误提示,我ctrl+c停了以后,就提示我下面的几个步骤被迫终止。我安装了好几遍,别的机器都装完了,这个机器还停着不动
作者: smallstarli    时间: 2013-08-19 11:32
php的包最高有5.3.9的吗,可以装在rhel5.6上面的
作者: smallstarli    时间: 2013-08-19 13:10
···我这个错误日志是啥意思···呀,我看不懂
  1. [Mon Aug 19 21:01:10 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
  2. [Mon Aug 19 21:01:10 2013] [notice] Digest: generating secret for digest authentication ...
  3. [Mon Aug 19 21:01:10 2013] [notice] Digest: done
  4. [Mon Aug 19 21:01:10 2013] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
  5. [Mon Aug 19 21:01:10 2013] [notice] Apache/2.2.3 (Red Hat) configured -- resuming normal operations
  6. [Mon Aug 19 21:01:23 2013] [error] [client 192.168.0.216] Directory index forbidden by Options directive: /var/www/html/
  7. [Mon Aug 19 21:06:24 2013] [error] [client 192.168.0.216] Directory index forbidden by Options directive: /var/www/html/
  8. [Mon Aug 19 21:07:19 2013] [notice] caught SIGTERM, shutting down
  9. [Mon Aug 19 21:07:20 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
  10. [Mon Aug 19 21:07:20 2013] [notice] Digest: generating secret for digest authentication ...
  11. [Mon Aug 19 21:07:20 2013] [notice] Digest: done
  12. [Mon Aug 19 21:07:20 2013] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
  13. [Mon Aug 19 21:07:21 2013] [notice] Apache/2.2.3 (Red Hat) configured -- resuming normal operations
复制代码

作者: smallstarli    时间: 2013-08-19 13:13
而且问题还有,我用.66的电脑访问的啊,不是216
作者: smallstarli    时间: 2013-08-19 13:17
额,我输错端口了,鼓捣老半天,我以前访问的很好的网页,都变成forbidden了,怎么设置的可以访问啊
作者: smallstarli    时间: 2013-08-19 13:51
还有一个问题···········我把php5.1.6卸载了,装了php54-5.4.8-1.ius.el5.i386。为什么info.php还说版本是5.1.6呢,我在配置文件里看的,版本写着5.4.8.请问是啥原因呢·······
作者: chenyx    时间: 2013-08-19 14:44
回复 11# smallstarli


    make test不是必须做的步骤,可以省略
作者: chenyx    时间: 2013-08-19 14:45
smallstarli 发表于 2013-08-19 13:10
···我这个错误日志是啥意思···呀,我看不懂

这个不是错误,那个forbidden,是说没找到默认网页.
作者: chenyx    时间: 2013-08-19 14:47
smallstarli 发表于 2013-08-19 13:17
额,我输错端口了,鼓捣老半天,我以前访问的很好的网页,都变成forbidden了,怎么设置的可以访问啊

getenforce看看selinux的状态.如果selinux是开启的,setenforce 0,看看
setenforce可用的情况下,你需要禁用selinux,或者开启selinux的情况下,修改网页目录下文件的Selinux content
作者: chenyx    时间: 2013-08-19 14:48
smallstarli 发表于 2013-08-19 13:51
还有一个问题···········我把php5.1.6卸载了,装了php54-5.4.8-1.ius.el5.i386。为什么info.php ...

检查下apache的配置,看看是不是load了5.1的php模块
作者: smallstarli    时间: 2013-08-19 15:18
那个版本问题是我犯2了,我看配置文件都写得5.4.8的版本,郁闷半天,就是info.php页面出来的是5.1.6.后来改过一些文件以后,重启了万恶的apache,版本就变成5.4.8了。
还有个老毛病就是那个mcrypt提示,他会影响程序运行吗。我下载了好几包,装php-mcrypt的时候提示少libltl.so.3。这个是装哪个包的啊
作者: chenyx    时间: 2013-08-19 15:25
没遇到过.你搜索下吧





欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2