ifre 发表于 2015-5-7 11:48:03

军哥,PHP还是安装不成功哇

那个freetype 也编译安装了.

php编译的时候路径页指定了.

好像还是不行哇.我也是醉了. 还是不支持php5.3.29

[ 本帖最后由 ifre 于 2015-5-7 11:52 编辑 ]

licess 发表于 2015-5-7 16:03:42

/root/lnmp1.1/php-5.3.29/ext/openssl/openssl.c:992: undefined reference to `SSL_library_init'
/root/lnmp1.1/php-5.3.29/ext/openssl/openssl.c:993: undefined reference to `OpenSSL_add_all_ciphers'
/root/lnmp1.1/php-5.3.29/ext/openssl/openssl.c:994: undefined reference to `OpenSSL_add_all_digests'
/root/lnmp1.1/php-5.3.29/ext/openssl/openssl.c:995: undefined reference to `OPENSSL_add_all_algorithms_noconf'
/root/lnmp1.1/php-5.3.29/ext/openssl/openssl.c:997: undefined reference to `ERR_load_ERR_strings'
/root/lnmp1.1/php-5.3.29/ext/openssl/openssl.c:998: undefined reference to `ERR_load_crypto_strings'
/root/lnmp1.1/php-5.3.29/ext/openssl/openssl.c:999: undefined reference to `ERR_load_EVP_strings'
/root/lnmp1.1/php-5.3.29/ext/openssl/openssl.c:1003: undefined reference to `SSL_get_ex_new_index'
/root/lnmp1.1/php-5.3.29/ext/openssl/openssl.c:1078: undefined reference to `X509_get_default_cert_area'
ext/openssl/openssl.o: In function `zm_info_openssl':
。。。。。。。。。。
ext/phar/util.o: In function `phar_verify_signature':
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:1805: undefined reference to `EVP_sha1'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:1862: undefined reference to `BIO_new_mem_buf'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:1872: undefined reference to `PEM_read_bio_PUBKEY'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:1873: undefined reference to `BIO_free'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:1883: undefined reference to `EVP_DigestInit'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:1895: undefined reference to `EVP_DigestUpdate'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:1903: undefined reference to `EVP_VerifyFinal'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:1914: undefined reference to `EVP_MD_CTX_cleanup'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:1905: undefined reference to `EVP_MD_CTX_cleanup'
ext/phar/util.o: In function `phar_create_signature':
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:2132: undefined reference to `BIO_new_mem_buf'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:2141: undefined reference to `PEM_read_bio_PrivateKey'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:2142: undefined reference to `BIO_free'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:2151: undefined reference to `EVP_MD_CTX_create'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:2153: undefined reference to `EVP_PKEY_size'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:2156: undefined reference to `EVP_sha1'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:2156: undefined reference to `EVP_DigestInit'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:2165: undefined reference to `EVP_DigestUpdate'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:2174: undefined reference to `EVP_SignFinal'
/root/lnmp1.1/php-5.3.29/ext/phar/util.c:2183: undefined reference to `EVP_MD_CTX_destroy'
collect2: error: ld returned 1 exit status
Makefile:269: recipe for target 'sapi/fpm/php-fpm' failed
make: *** Error 1


使用debian 6或使用upgrade_php.sh 升级php至 5.4及更高版本

也可以尝试编译一个curl,php编译参数--with-curl指定上编译的curl路径
页: [1]
查看完整版本: 军哥,PHP还是安装不成功哇