php make报错undefined reference to symbol
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了php make报错undefined reference to symbol相关的知识,希望对你有一定的参考价值。
/usr/bin/ld: ext/phar/.libs/util.o: undefined reference to symbol ‘[email protected]@libcrypto.so.10‘
/usr/bin/ld: note: ‘[email protected]@libcrypto.so.10‘ is defined in DSO /lib64/libcrypto.so.10 so try adding it to the linker command line
/lib64/libcrypto.so.10: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
编辑MakeFile
找到 开头是 ‘EXTRA_LIBS = ‘ 这一行 在结尾加上 ‘-lcrypto‘ 然后执行 make && make install
本文出自 “linux基础” 博客,请务必保留此出处http://chaoyuezhangsan.blog.51cto.com/7176886/1745230
以上是关于php make报错undefined reference to symbol的主要内容,如果未能解决你的问题,请参考以下文章
升级redis3.2.7编译报错“ undefined reference to `clock_gettime'”
undefined reference to `libiconv_open 无法编译PHP
安装mysql_sniffer报错undefined reference to symbol 'pthread_setspecific@@GLIBC_2.2.5'问题
eclipse 报错:93: undefined reference to
linux已经安装了php扩展uuid 但是还报Call to undefined function uuid_make()这个错误,为甚么呢。