在源码编译安装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) |