码迷,mamicode.com
首页 > Web开发 > 详细

php make报错undefined reference to symbol

时间:2016-02-26 12:30:54      阅读:237      评论:0      收藏:0      [点我收藏+]

标签:undefined   reference   command   symbols   error   

/usr/bin/ld: ext/phar/.libs/util.o: undefined reference to symbol ‘EVP_DigestInit@@libcrypto.so.10‘

/usr/bin/ld: note: ‘EVP_DigestInit@@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

标签:undefined   reference   command   symbols   error   

原文地址:http://chaoyuezhangsan.blog.51cto.com/7176886/1745230

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!