 rexbinary Mod King Premium join:2005-01-26 Plano, TX
·Verizon FIOS
1 edit | Update libcurl from source on CentOS 5.2 I am having an issue with rTorrent, actually more specifically with libcurl.
I have CentOS 5.2 installed running rTorrent. rTorrent is version 0.8.4 (libTorrent 0.12.4) installed from the RPMforge repo. I have cURL (libcurl) version 7.15.5 which is the latest available from the CentOS 5 repos.
After some research I have found that there is a bug in my installed version of libcurl that causes rTorrent to fail to connect to trackers.
The solution is to use libcurl version 7.19.2. It's not available from any repo, nor can I find an RPM for it. I'm not too worried about that as I believe I can figure out how to build it from source. What I am concerned about is breaking other applications that rely on libcurl and/or breaking any dependencies or anything with the package management of the system.
So what would be the most SANE way to install the needed version of libcurl on my system so rTorrent can use it, but not break anything else? -- Verizon FiOS 15/15 subscriber since 11/26/07 | Mac owner since 1990 | FreeBSD user since 2005 | Fedora user since 2006 | "Anyone who is unwilling to learn is entitled to absolutely nothing." - graysonf | EDIT: I seldom post without an edit. | |
|
  benyto Premium join:2000-07-09 Chico, CA
| Re: Update libcurl from source on CentOS 5.2 Alternatively you could use the stable versions of libtorrent and rtorrent (0.12.2 and 0.8.2 respectively). The versions you have installed are development versions. That would probably avoid having to replace the system provided curl libraries, which may have unforeseen consequences. | |
|
 |   rexbinary Mod King Premium join:2005-01-26 Plano, TX | Re: Update libcurl from source on CentOS 5.2 Yeah I'm not sure why those versions are used in the RPMforge repo. I'll check for RPMs, that might be easier. Thanks. | |
|
  rexbinary Mod King Premium join:2005-01-26 Plano, TX
·Verizon FIOS
| Well it seems even the stable version of rTorrent and libTorrent require libcurl 7.19.2 to properly connect to trackers.
Inability to connect to trackers or announces time out
Usually due to a buggy libcurl version. Since version 0.8.2, rtorrent uses more advanced features of libcurl. While these work for many users, in unknown circumstances (depending on system setup? trackers?) it may cause announces to fail consistently. In that case please update libcurl to version 7.19.2 or higher. »libtorrent.rakshasa.no/wiki/LibT···wnIssues -- Verizon FiOS 15/15 subscriber since 11/26/07 | Mac owner since 1990 | FreeBSD user since 2005 | Fedora user since 2006 | "Anyone who is unwilling to learn is entitled to absolutely nothing." - graysonf | EDIT: I seldom post without an edit. | |
|
 |   benyto Premium join:2000-07-09 Chico, CA
| Re: Update libcurl from source on CentOS 5.2 said by rexbinary :Well it seems even the stable version of rTorrent and libTorrent require libcurl 7.19.2 to properly connect to trackers. That has not been my experience with libtorrent 0.12.2 and rtorrent 0.8.2 using the CentOS supplied curl 7.15.5. Though admittedly my experience with same has been limited to downloading and seeding the latest Slackware and Mythbuntu images. Initially I had problems with the development versions. After I compiled the latest stable versions those problems ceased for me. | |
|
 |  |   rexbinary Mod King Premium join:2005-01-26 Plano, TX
·Verizon FIOS
| Re: Update libcurl from source on CentOS 5.2 My torrents are limited to just seeding distos as well.
Yeah it seems they say it doesn't fail with all configurations, but on the ones they do they recommend the newer libcurl.
Maybe I'll try downgrading rTorrent first before I venture into compiling curl, because I do know it was connecting to trackers previously. I'm just not sure when it quit working. It might have been when they pushed out the unstable version from the RPMforge repo. Still not quite sure why RPMforge did that. -- Verizon FiOS 15/15 subscriber since 11/26/07 | Mac owner since 1990 | FreeBSD user since 2005 | Fedora user since 2006 | "Anyone who is unwilling to learn is entitled to absolutely nothing." - graysonf | EDIT: I seldom post without an edit. | |
|
 |
 |   Cabal Premium join:2007-01-21 Boston, MA
| Re: Update libcurl from source on CentOS 5.2 said by jdong :If you are updating libcurl, I strongly recommend installing it to a non-default prefix (i.e. /opt/curl) and pointing rTorrent to it via its configure flags and/or LD_LIBRARY_PATH; replacing the system libcurl with a newer version is almost always a bad idea (tm). This is what I do for any unpackaged libraries, it should work fine (and is safer, as mentioned). -- Interested in open source engine management for your Subaru? | |
|
  rolfp
join:2001-09-12 Oakland, CA | How about using bittorrent, or vuze|azureus, instead of rtorrent? | |
|
 |  |
 |  |  |
 |  |   Steve I'm a PC, so shut up Consultant join:2001-03-10 Yorba Linda, CA
| Re: Update libcurl from source on CentOS 5.2 said by jdong : Let's not turn every question into a rewrite-the-question contest. Some of the best advice given here is when we do indeed rewrite the questions. -- Stephen J. Friedl | Unix Wizard | Microsoft Security MVP | Orange County, California USA | my web site | |
|
 |  |  |   jdong Eat A Beaver, Save A Tree. Premium join:2002-07-09 Rochester, MI clubs:  
| Re: Update libcurl from source on CentOS 5.2 said by Steve :said by jdong : Let's not turn every question into a rewrite-the-question contest. Some of the best advice given here is when we do indeed rewrite the questions. Perhaps, but I think this is a clear-cut case of a time where "why don't you use X instead" is unwarranted. -- Ubuntu MOTU Developer and Forums Council | |
|
 |  |  |  |   Steve I'm a PC, so shut up Consultant join:2001-03-10 Yorba Linda, CA
| Re: Update libcurl from source on CentOS 5.2 said by jdong : Perhaps, but I think this is a clear-cut case of a time where "why don't you use X instead" is unwarranted. Well thankfully it's a big world, and we don't all have to agree. | |
|
  rexbinary Mod King Premium join:2005-01-26 Plano, TX | OK thanks I'll give that a shot.  | |
|
 |
 |
 |
|
 |