常青树 发表于 2018-12-17 10:59:53

php make报错undefined reference to symbol

  /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: *** Error 1
  

编辑MakeFile
找到 开头是 'EXTRA_LIBS = ' 这一行 在结尾加上 '-lcrypto' 然后执行 make && make install
  




页: [1]
查看完整版本: php make报错undefined reference to symbol