Chinaunix首页 | 论坛 | 博客
  • 博客访问: 66347
  • 博文数量: 16
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 125
  • 用 户 组: 普通用户
  • 注册时间: 2015-04-23 09:29
文章分类

全部博文(16)

文章存档

2016年(10)

2015年(6)

我的朋友

分类: PHP

2015-11-08 22:31:54

在源码编译安装php时提示如下错误

/usr/lib/gcc/i586-suse-linux/4.8/../../../../i586-suse-linux/bin/ld: ext/openssl/.libs/openssl.o: undefined reference to symbol 'X509_free' 
/usr/lib/gcc/i586-suse-linux/4.8/../../../../i586-suse-linux/bin/ld: ext/openssl/.libs/openssl.o: undefined reference to symbol 'SSL_get_verify_result'd

针对上面类似错误需要修改Makefile,在EXTRA_LIBS后面添加上 -lssl -lcrypto,然后再编译就没问题了

阅读(3694) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~