安裝Ubuntu pycurl == 7.19.0。 py,但抓住這堆棧跟蹤:無法在Ubuntu 16.04蟒蛇2.7.12
Downloading https://pypi.python.org/packages/11/73/abcfbbb6e1dd7087fa53042c301c056c11264e8a737a4688f834162d731e/pycurl-7.19.0.tar.gz#md5=074cd44079bb68697f5d8751102b384b
Best match: pycurl 7.19.0
Processing pycurl-7.19.0.tar.gz
Writing /tmp/easy_install-F8gcvD/pycurl-7.19.0/setup.cfg
Running pycurl-7.19.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-F8gcvD/pycurl-7.19.0/egg-dist-tmp-8sbXeG
Using curl-config (libcurl 7.47.0)
src/pycurl.c: In function ‘multi_socket_callback’:
src/pycurl.c:2351:9: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
int ret;
^
src/pycurl.c: In function ‘initpycurl’:
src/pycurl.c:3453:31: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time]
insstr(d, "COMPILE_DATE", __DATE__ " " __TIME__);
^
src/pycurl.c:3453:44: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time]
insstr(d, "COMPILE_DATE", __DATE__ " " __TIME__);
^
/usr/bin/ld: cannot find -lidn
/usr/bin/ld: cannot find -lrtmp
/usr/bin/ld: cannot find -lgssapi_krb5
/usr/bin/ld: cannot find -lkrb5
/usr/bin/ld: cannot find -lk5crypto
/usr/bin/ld: cannot find -lcom_err
/usr/bin/ld: cannot find -llber
/usr/bin/ld: cannot find -llber
/usr/bin/ld: cannot find -lldap
collect2: error: ld returned 1 exit status
error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
有誰知道什麼是錯的?
我試了一下,沒有幫助 – Yura
@Bhargav重複的目標問題太廣泛了,只是一個隨機答案大雜燴,沒有明確的,明確的答案來解決這個問題。我認爲這是一個可憐的重複。 – cpburnz
@cpburnz我已重新打開。誠然,這是一個混合的答案(libcurl答案是第10下)。如果您確實找到時間,請嘗試清理該帖子。 –