- added libssh2-1-dev to build-depends; thanks to Jakub Wilk for the report;
Closes: #658952
I wonder if this is the correct solution. Some time ago librtmp-dev was
added to Build-Depends for fix a similar FTBFS. This looks dubious to
me, as there are no references to either of these libraries in the
pycurl code.
Let's look at the linking command:
| 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
It contains:
- tons of libraries that pycurl doesn't use directly;
- two references to libcurl: "-lcurl" and later
"/usr/lib/i386-linux-gnu/libcurl.a" (!).
Apparently that's because setup.py uses "curl-config --static-libs" to
construct the linking command. But that doesn't sound right, unless you
want to compile stuff statically.
--
Jakub Wilk
--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org