LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-17-2016, 09:13 AM   #1
lupe
Member
 
Registered: Dec 2008
Distribution: Slackware, FreeBSD, NetBSD, Haiku
Posts: 64

Rep: Reputation: 2
rtorrent on Current x86_64


Hi,

In the past year there was a thread [1] where it was said that rtorrent could be used in Slackware Current.
Tried to install it on my Current x86_64, but libtorrent fails with:
Code:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib/libcrypto.so when searching for -lcrypto
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib/libcrypto.a when searching for -lcrypto
/usr/lib64/../lib/libstdc++.so: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
Makefile:515: recipe for target 'libtorrent.la' failed
make[3]: *** [libtorrent.la] Error 1
make[3]: Leaving directory '/tmp/SBo/libtorrent-0.13.6/src'
Makefile:562: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/tmp/SBo/libtorrent-0.13.6/src'
Makefile:494: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/libtorrent-0.13.6'
Makefile:402: recipe for target 'all' failed
make: *** [all] Error 2
Both libtorrent (0.13.6) and rtorrent (0.9.6) versions that are mentioned in slackbuilds.org are the latest (http://rtorrent.net/downloads/).

Is there any patch for this? Or is there any other CLI torrent program slackware users are using that is similar or better than rtorrent?


[1] https://www.linuxquestions.org/quest...nt-4175550951/
 
Old 06-17-2016, 09:55 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,105

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
that's strange, because libtorrent and rtorrent build fine here, on a standard slackware64-current: on a multilib slackware64-current you might have to modify the libtorrent.SlackBuild as indicated in the FAQ (untested here).

BTW, I'm personally using transmission from the command line.
 
1 members found this post helpful.
Old 06-17-2016, 10:55 AM   #3
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
/usr/lib64/../lib/libstdc++.so: error adding symbols: File in wrong format
As ponce indicated, it seems to be a multilib problem. Following the FAQ entry he linked will most likely solve your issue.

And, I'll second the use of transmission (although, I'm apparently not geeky enough to use it on the commandline and I prefer GUI frontends ). I haven't used rtorrent, but I'm a convert from ktorrent and have been plenty happy with transmission (and it works great with Android phones using Transdroid).
 
Old 06-17-2016, 11:38 AM   #4
lupe
Member
 
Registered: Dec 2008
Distribution: Slackware, FreeBSD, NetBSD, Haiku
Posts: 64

Original Poster
Rep: Reputation: 2
You guys are great :-)

That's it. A multilib system because of the necessary evil that is Skype.
And the application compiles fine after adding the line
Code:
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
before
Code:
./configure
as in the mentioned FAQ.

Nonetheless, I took a look at transmission and will install it as I like the lean concept. Rtorrent uses a bit more of CPU than I'd like.

Thank you ponce and bassmadrigal
 
Old 06-17-2016, 12:43 PM   #5
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Just for extra info, transmission builds several different builds. I think there are 2-3 GUIs and one daemon. The clients are dual capable, in that they can run by themselves and provide all your torrent needs, or they can also double as clients where they just connect to another transmission server. For a long time, I was using one of the clients as the torrent program, but, eventually, I migrated to using transmission-daemon as my torrent server (since this can be run in the background without X and the others require a GUI to be started), then I can connect to that server using any number of clients, including the ones they provide and clients on other machines on my network (I have TransGUI on my Windows laptop that connects to the daemon on my server).

It was a little bit of a learning curve compared to other torrent clients I've used (Azureus way back in the day, then utorrent, the ktorrent, and finally transmission), but once I got it all figured out, I really think this is the best setup for my usage.

Good luck!
 
1 members found this post helpful.
Old 06-17-2016, 02:39 PM   #6
slacktroll
Member
 
Registered: May 2011
Distribution: Slackware64/current
Posts: 175

Rep: Reputation: 45
just rename /usr/lib to /usr/lib32 and to the sbopkg -i "libtorrent rtorrent" and afterwards rename /usr/lib32 to /usr/lib :-)
...

Last edited by slacktroll; 06-17-2016 at 02:40 PM. Reason: error
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how to install rtorrent for slackware64-current? nitecrawler Slackware 3 08-18-2015 12:55 AM
[SOLVED] update to current, rtorrent throws error, won't start mrclisdue Slackware 4 03-11-2011 08:14 AM
Latest Current (x86_64) Gavin Harper Slackware 4 02-11-2011 07:57 AM
Rtorrent keyboard commands unresponsive when starting rtorrent in detached screen MheAd Linux - Software 1 09-05-2010 07:00 AM
gnuplot in 32bit current is x86_64 ivandi Slackware 1 03-04-2010 01:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration