代码: 全选
/usr/bin/ld: ext/curl/.libs/interface.o: undefined reference to symbol 'CRYPTO_set_id_callback@@OPENSSL_1.0.0'
/usr/bin/ld: note: 'CRYPTO_set_id_callback@@OPENSSL_1.0.0' is defined in DSO /usr/lib/i386-linux-gnu/libcrypto.so.1.0.0 so try adding it to the linker command line
/usr/lib/i386-linux-gnu/libcrypto.so.1.0.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
代码: 全选
/usr/lib/i386-linux-gnu# ls | grep -E 'libcrypto.so.1.0.0'
libcrypto.so.1.0.0
解决方法:
代码: 全选
http://tech.barwick.de/linux/crypto-set-id-callback-error-compiling-php-with-curl.html