Coder Social home page Coder Social logo

Comments (11)

rakshasa avatar rakshasa commented on May 18, 2024

Have you tried latest git version? Pretty sure I fixed some bug a while back.

from rtorrent.

ragaskar avatar ragaskar commented on May 18, 2024

I haven't yet -- but I will try compiling and running against HEAD this weekend and report back.

from rtorrent.

ragaskar avatar ragaskar commented on May 18, 2024

Having the following error occur when I try to compile libtorrent:

libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.4.3/crtbeginS.o .libs/globals.o .libs/manager.o -Wl,--whole-archive torrent/.libs/libsub_torrent.a torrent/data/.libs/libsub_torrentdata.a torrent/download/.libs/libsub_torrentdownload.a torrent/peer/.libs/libsub_torrentpeer.a torrent/utils/.libs/libsub_torrentutils.a data/.libs/libsub_data.a dht/.libs/libsub_dht.a download/.libs/libsub_download.a net/.libs/libsub_net.a protocol/.libs/libsub_protocol.a tracker/.libs/libsub_tracker.a utils/.libs/libsub_utils.a -Wl,--no-whole-archive -Wl,-rpath -Wl,/home/hd2/rajbot/lib -Wl,-rpath -Wl,/home/hd2/rajbot/lib -L/home/hd2/rajbot/lib -lcrypto -ldl /home/hd2/rajbot/lib/libsigc-2.0.so -L/usr/lib/gcc/x86_64-linux-gnu/4.4.3 -L/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/4.4.3/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/crtn.o -O2 -Wl,-soname -Wl,libtorrent.so.14 -o .libs/libtorrent.so.14.0.1
/usr/bin/ld: /home/hd2/rajbot/lib/libcrypto.a(bn_lib.o): relocation R_X86_64_32 against .rodata' can not be used when making a shared object; recompile with -fPIC /home/hd2/rajbot/lib/libcrypto.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[3]: *** [libtorrent.la] Error 1 make[3]: Leaving directory/home/hd2/rajbot/src/libtorrent/sr

Any advice?

from rtorrent.

rakshasa avatar rakshasa commented on May 18, 2024

That is not an issue with rtorrent, but your system.

from rtorrent.

ragaskar avatar ragaskar commented on May 18, 2024

Right; I'm just wondering if you know of an easy fix -- I'm not particularly up to speed on compiling software by hand. Adding the -fPIC flag doesn't seem to get it through compilation successfully.

from rtorrent.

ragaskar avatar ragaskar commented on May 18, 2024

Got it: for those having a similar problem, I needed to recompile openssl with the following configure flags:

./configure shared CFLAGS=-fPIC

In my case I also had to make clean before re-running configure. Confusing!

from rtorrent.

ragaskar avatar ragaskar commented on May 18, 2024

Still seeing the same issue with latest HEAD -- trying to build previous versions of rtorrent to see if those work correctly with xmlrpc, but they're failing with an error about curl_stack....

from rtorrent.

ragaskar avatar ragaskar commented on May 18, 2024

0.8.8 fails with similar errors, 0.8.7 segfaults. Not sure what working version I had on my server before it got upgraded to 0.8.9.

from rtorrent.

rakshasa avatar rakshasa commented on May 18, 2024

Can you provide an example of the xmlrpc call you're making?

Also, post logs using 'log.xmlrpc = ".

from rtorrent.

pyroscope avatar pyroscope commented on May 18, 2024

0.8.9 mandates that the 2nd argument is ALWAYS an item hash, and where not applicable, an empty argument needs to be passed. Put another way: called correctly, it works like a charm with 0.8.9 (release). Just did.

from rtorrent.

ragaskar avatar ragaskar commented on May 18, 2024

Thank you, pyroscope -- that was the problem -- I simply added a blank argument as the first parameter to "download_list" -- ie, "download_list", "", "complete" and everything works beautifully!

My mistake for not posting what parameters I was posting in the first place.

Thanks all for your help!

from rtorrent.

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.