yum/usr/lib64/python2.7/site-packages/pycurl.so: undefined symbol: CRYPTO_num_locks

1194 ワード

まずこの版を参考にするhttps://blog.csdn.net/beyondlpf/article/details/38679097重要なのはpycurl 7.21.5バージョンsrcディレクトリの下にMakefile pycurl 7がないことです.19.5 srcではpycurlはありません.c pycurl7.19.3コンパイルエラーでこの方法を放棄し、別の編を発見した.https://blog.csdn.net/abcdu1/article/details/85786429でも、curlを使うならどうしますか?だから削除してはいけません.私の方法はlibcurl*を別のディレクトリの下に置いて、その時になってから移動することです.別の方法でpycurlをコンパイルしますhttps://blog.csdn.net/qq_32502511/article/details/80606636
後続の問題
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   pycurl: libcurl link-time version (7.29.0) is older than compile-time version (7.65.1)

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.7.5 (default, Jun 20 2019, 20:27:34) 
[GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]

If you cannot solve this problem yourself, please go to 
the yum faq at:
  http://yum.baseurl.org/wiki/Faq

一見、差は多くないが、実は違いがある.肝心なのはpycurl:libcurl link-time version(7.29.0)is older than compile-time version(7.65.1)解決方法cp/usr/local/lib/libcurlである.so/usr/lib64/