Comments (10)
Hi, could you describe how i can manually work around this so i can build the latest stable version from http://libtorrent.rakshasa.no/ (= rtorrent-0.9.4.tar.gz ) ?
EDIT: nevermind, ignore this comment. I ran into a similar error message because forgot to run 'autogen.sh'...
from libtorrent.
Check if it includes '-lz' during the normal build, it's missing above.
from libtorrent.
It doesn't, full build log is available here: http://dev.exherbo.org/~ingmar/libtorrent.log
from libtorrent.
Same thing for me. Should add something to the ./configure
to have the -lz
?
Relevant line:
libtool: link: g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -g -DDEBUG -fvisibility=hidden -pthread -Wl,-z -Wl,relro -o .libs/LibTorrentTe
st ../src/LibTorrentTest-thread_disk.o rak/LibTorrentTest-allocators_test.o rak/LibTorrentTest-ranges_test.o data/LibTorrentTest-chunk_list_test.o data/LibTorrentTest-hash_check_que
ue_test.o data/LibTorrentTest-hash_queue_test.o protocol/LibTorrentTest-test_request_list.o torrent/LibTorrentTest-http_test.o torrent/LibTorrentTest-object_test.o torrent/LibTorren
tTest-object_test_utils.o torrent/LibTorrentTest-object_static_map_test.o torrent/LibTorrentTest-object_stream_test.o torrent/LibTorrentTest-tracker_controller_test.o torrent/LibTor
rentTest-tracker_controller_features.o torrent/LibTorrentTest-tracker_controller_requesting.o torrent/LibTorrentTest-tracker_list_test.o torrent/LibTorrentTest-tracker_list_features
_test.o torrent/LibTorrentTest-tracker_timeout_test.o torrent/utils/LibTorrentTest-log_test.o torrent/utils/LibTorrentTest-log_buffer_test.o torrent/utils/LibTorrentTest-net_test.o
torrent/utils/LibTorrentTest-option_strings_test.o torrent/utils/LibTorrentTest-test_extents.o torrent/utils/LibTorrentTest-test_queue_buckets.o torrent/utils/LibTorrentTest-signal_
bitfield_test.o torrent/utils/LibTorrentTest-thread_base_test.o tracker/LibTorrentTest-tracker_http_test.o LibTorrentTest-main.o -L/usr/lib/i386-linux-gnu -lcppunit -ldl ../src/.libs/libtorrent.so ../src/torrent/.libs/libsub_torrent.a ../src/torrent/data/.libs/libsub_torrentdata.a ../src/torrent/download/.libs/libsub_torrentdownload.a ../src/torrent/peer/.libs/libsub_torrentpeer.a ../src/data/.libs/libsub_data.a ../src/dht/.libs/libsub_dht.a ../src/download/.libs/libsub_download.a ../src/net/.libs/libsub_net.a ../src/protocol/.libs/libsub_protocol.a ../src/tracker/.libs/libsub_tracker.a ../src/utils/.libs/libsub_utils.a ../src/torrent/utils/.libs/libsub_torrentutils.a -lcrypto -pthread
torrent/utils/LibTorrentTest-log_test.o: In function `utils_log_test::test_file_output()':
/tmp/buildd/libtorrent-0.13.4/test/torrent/utils/log_test.cc:140: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
../src/torrent/utils/.libs/libsub_torrentutils.a(log.o): In function `torrent::log_gz_file_write(std::tr1::shared_ptr<torrent::log_gz_output>&, char const*, unsigned int, int)':
/tmp/buildd/libtorrent-0.13.4/src/torrent/utils/log.cc:377: undefined reference to `gzwrite'
/tmp/buildd/libtorrent-0.13.4/src/torrent/utils/log.cc:379: undefined reference to `gzwrite'
/tmp/buildd/libtorrent-0.13.4/src/torrent/utils/log.cc:388: undefined reference to `gzwrite'
/tmp/buildd/libtorrent-0.13.4/src/torrent/utils/log.cc:383: undefined reference to `gzwrite'
/tmp/buildd/libtorrent-0.13.4/src/torrent/utils/log.cc:386: undefined reference to `gzwrite'
../src/torrent/utils/.libs/libsub_torrentutils.a(log.o): In function `log_gz_output':
/tmp/buildd/libtorrent-0.13.4/src/torrent/utils/log.cc:76: undefined reference to `gzopen64'
../src/torrent/utils/.libs/libsub_torrentutils.a(log.o): In function `~log_gz_output':
/tmp/buildd/libtorrent-0.13.4/src/torrent/utils/log.cc:77: undefined reference to `gzclose'
/tmp/buildd/libtorrent-0.13.4/src/torrent/utils/log.cc:77: undefined reference to `gzclose'
../src/protocol/.libs/libsub_protocol.a(request_list.o): In function `torrent::RequestList::delegate()':
/tmp/buildd/libtorrent-0.13.4/src/protocol/request_list.cc:127: undefined reference to `torrent::Delegator::delegate(torrent::PeerChunks*, int)'
collect2: error: ld returned 1 exit status
Makefile:797: recipe for target 'LibTorrentTest' failed
make[3]: *** [LibTorrentTest] Error 1
make[3]: Leaving directory '/tmp/buildd/libtorrent-0.13.4/test'
Makefile:1510: recipe for target 'check-am' failed
make[2]: *** [check-am] Error 2
make[2]: Leaving directory '/tmp/buildd/libtorrent-0.13.4/test'
Makefile:493: recipe for target 'check-recursive' failed
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory '/tmp/buildd/libtorrent-0.13.4'
from libtorrent.
Seems OpenSSL is pulling in libz, I'll look at adding an explicit test.
from libtorrent.
Added ax_check_zlib.m4, should work now.
from libtorrent.
@rakshasa is there any chance you could make a release with this fix? I don't want to change the Debian packages to be using git commits as versions.
Kind regards.
from libtorrent.
I'll do a release in the near future.
from libtorrent.
Hi Rakshasa! So could we expect a release? I see the Debian maintainer for rtorrent follows this so it seems we have all the required people gathered for a quick resolution of this "0.13.4 release does not build". Thanks a lot for your time!
from libtorrent.
Any chance for a release anytime soon?
from libtorrent.
Related Issues (20)
- Just FYI: rTorrent Crash, 'priority_queue_erase(...) called on an invalid item.' HOT 4
- Build with/without INOTIFY HOT 1
- Regular rtorrent crashes because of DHT HOT 2
- LibTorrentTest fails to build on 13.8 due to multiple definitions. HOT 2
- Crash when rechecking torrents with missing empty files
- 0.13.8: test suite linkinmg fails with LTO
- Support for BEP52 (BitTorrent v2) HOT 1
- libtorrent: FTBFS on hurd-i386: error: 'IPV6_TCLASS' was not declared in this scope. HOT 1
- How to build libtorrent after commit 53596af? HOT 3
- Getting lots of "message:7 network error" on handshake_manager however network is fine
- 'make check' fails with missing sig_t on Solaris
- OpenSSL v3 support for libtorrent
- how to bind a callback function for specific events HOT 1
- Several branches
- New release?
- FR: ipv6 support for UDP trackers
- Commit e22c77f causes rtorrent/rutorrent to crash when setting torrent file priority to not download
- received a chunk that has already been filled
- Commit 0f957c2 breaks rtorrent IPV4 TOS setting.
- libtorrent.so 0.13.8 crash on Rasberry PI4 kernel due to unaligned access HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libtorrent.