Git Product home page Git Product logo

Comments (10)

notDavid avatar notDavid commented on May 25, 2024 1

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.

rakshasa avatar rakshasa commented on May 25, 2024

Check if it includes '-lz' during the normal build, it's missing above.

from libtorrent.

ingmarv avatar ingmarv commented on May 25, 2024

It doesn't, full build log is available here: http://dev.exherbo.org/~ingmar/libtorrent.log

from libtorrent.

ghostbar avatar ghostbar commented on May 25, 2024

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.

rakshasa avatar rakshasa commented on May 25, 2024

Seems OpenSSL is pulling in libz, I'll look at adding an explicit test.

from libtorrent.

rakshasa avatar rakshasa commented on May 25, 2024

Added ax_check_zlib.m4, should work now.

from libtorrent.

ghostbar avatar ghostbar commented on May 25, 2024

@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.

rakshasa avatar rakshasa commented on May 25, 2024

I'll do a release in the near future.

from libtorrent.

galaux avatar galaux commented on May 25, 2024

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.

ingmarv avatar ingmarv commented on May 25, 2024

Any chance for a release anytime soon?

from libtorrent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.