免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2998 | 回复: 5
打印 上一主题 下一主题

[配置] RH9装php4.4.1时遇到的问题,--急! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-11-18 14:30 |只看该作者 |倒序浏览
装php时的:
[root@phpLNX php-4.4.1]#./configure --with-mysql --with-gd --with-zlib --with-zlib-
-apxs=/usr/local/apache/bin/apxs --enable-calendar --enable-ftp --enable-sysvsem --wit
--with-iconv
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
.................................................
checking for CRACKlib support... no
checking whether to enable ctype functions... yes
checking for CURL support... yes
checking for CURL in default path... found in /usr
checking for cURL 7.9.8 or greater... libcurl 7.9.8
checking for curl_easy_perform in -lcurl... no
configure: error: There is something wrong. Please check config.log for more informati

[root@phpLNX php-4.4.1]# tail -15 config.log
configure:22405: checking for curl_easy_perform in -lcurl
configure:22424: gcc -o conftest -g -O2  -Wl,-rpath,/usr/kerberos/lib -L/usr/kerberos/lib  -Wl,-rpath,/usr/kerberos/lib -L/usr/kerberos/lib -lcurl -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl -lz -lssl -lcrypto conftest.c -lcurl  -lcurl -lz -lresolv -lm -ldl -lnsl  -lcurl -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl -lz -lssl -lcrypto 1>&5
/usr/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
configure: failed program was:
#line 22413 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char curl_easy_perform();

int main() {
curl_easy_perform()
; return 0; }
请问是什么问题啊??

[ 本帖最后由 HonestQiao 于 2005-11-25 09:36 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2005-11-18 14:44 |只看该作者
上面不是说得很清楚吗, 找不到 ssl 信赖库, 因为 curl 要用到

补装或指定 ssl 库的位置

论坛徽章:
0
3 [报告]
发表于 2005-11-18 17:15 |只看该作者
请问能详细一点说明解决办法吗?装那些SSL啊?或是如何指定?

论坛徽章:
0
4 [报告]
发表于 2005-11-23 12:12 |只看该作者
先试试 configure 里加入 --with-ssl

如果没装过,试试先装 openssl 最新版吧

论坛徽章:
0
5 [报告]
发表于 2008-04-11 12:42 |只看该作者
我先前使用的是
mysql-max-4.1.22-unknown-linux-gnu-x86_64-icc-glibc23.tar.gz 换为 mysql-max-4.1.22-unknown-linux-gnu-x86_64-glibc23.tar.gz 就可以了.
当然没全换,我就换了mysql-max-4.1.22-unknown-linux-gnu-x86_64-glibc23的LIB目录.


本文来自: E点废墟(www.xok.la) 详细出处参考:http://xok.la/2008/04/php_configure_memcpy_confdefs.html

论坛徽章:
0
6 [报告]
发表于 2008-04-13 23:34 |只看该作者
顶4楼,需要装openssl
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP