[Python-modules-team] Bug#658952: pycurl: FTBFS: /usr/bin/ld: cannot find -lssh2
Jakub Wilk
jwilk at debian.org
Mon Feb 6 21:57:27 UTC 2012
Source: pycurl
Version: 7.19.0-4
Severity: serious
Justification: fails to build from source
pycurl FTBFS in a minimal unstable chroot:
| python2.6 setup.py build
| Using curl-config (libcurl 7.24.0)
| running build
| running build_py
| creating build
| creating build/lib.linux-i686-2.6
| creating build/lib.linux-i686-2.6/curl
| copying python/curl/__init__.py -> build/lib.linux-i686-2.6/curl
| running build_ext
| building 'pycurl' extension
| creating build/temp.linux-i686-2.6
| creating build/temp.linux-i686-2.6/src
| gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_CURL_GNUTLS=1 -DHAVE_CURL_GNUTLS=1 -DHAVE_CURL_SSL=1 -I/usr/include/python2.6 -c src/pycurl.c -o build/temp.linux-i686-2.6/src/pycurl.o
| src/pycurl.c: In function 'multi_socket_callback':
| src/pycurl.c:2351:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
| src/pycurl.c:2355:11: warning: call to '_curl_easy_getinfo_err_string' declared with attribute warning: curl_easy_getinfo expects a pointer to char * for this info [enabled by default]
| src/pycurl.c: In function 'do_multi_info_read':
| src/pycurl.c:2843:15: warning: call to '_curl_easy_getinfo_err_string' declared with attribute warning: curl_easy_getinfo expects a pointer to char * for this info [enabled by default]
| In function 'util_curl_unsetopt',
| inlined from 'do_curl_unsetopt' at src/pycurl.c:1551:5:
| src/pycurl.c:1476:9: warning: call to '_curl_easy_setopt_err_CURLSH' declared with attribute warning: curl_easy_setopt expects a CURLSH* argument for this option [enabled by default]
| gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-i686-2.6/src/pycurl.o -L/usr/lib/i386-linux-gnu -lcurl -lidn -lssh2 -llber -llber -lldap -lrt -lgssapi_krb5 -lz -lgnutls -lgcrypt -lrtmp -o build/lib.linux-i686-2.6/pycurl.so -Wl,-z,relro /usr/lib/i386-linux-gnu/libcurl.a -Wl,-z,relro
| /usr/bin/ld: cannot find -lssh2
| collect2: ld returned 1 exit status
| error: command 'gcc' failed with exit status 1
--
Jakub Wilk
More information about the Python-modules-team
mailing list