Hello there,
as Gentoo Linux's lftp package maintainer I was playing around with
lftp-3.99 when I noticed that cmd-torrent.so isn't being linked to
liblftp-network.la.
jer...@misha ~/torrents $ lftp -c torrent
http://torrent.fedoraproject.org/torrents//Fedora-11-x86_64-DVD.torrent
/usr/lib/lftp/3.99.5/cmd-torrent.so:
undefined symbol: _ZN9RateLimit9BytesUsedEiNS_5dir_tE
Patch attached.
Kind regards,
jer--- src/Makefile.am.orig 2009-06-26 17:14:39.000000000 +0200
+++ src/Makefile.am 2009-07-29 06:35:41.000000000 +0200
@@ -63,6 +63,7 @@
proto_http_la_LIBADD = -L$(DESTDIR)$(pkgverlibdir) liblftp-network.la $(EXPAT_LIBS)
proto_fish_la_LIBADD = -L$(DESTDIR)$(pkgverlibdir) liblftp-network.la liblftp-pty.la
proto_sftp_la_LIBADD = -L$(DESTDIR)$(pkgverlibdir) liblftp-network.la liblftp-pty.la
+cmd_torrent_la_LIBADD = -L$(DESTDIR)$(pkgverlibdir) liblftp-network.la
liblftp_tasks_la_SOURCES = PollVec.cc PollVec.h SMTask.cc SMTask.h ProcWait.cc\
ProcWait.h GetPass.cc GetPass.h ConnectionSlot.cc ConnectionSlot.h\