Cannot launch qbittorrent

Asked by Valheru

Ubuntu 9.04
When i try to launch qbittorrent nothing happens.
help please (i dunno what do you need, if you need system info tell please how can it be got)

Question information

Language:
English Edit question
Status:
Solved
For:
qBittorrent Edit question
Assignee:
No assignee Edit question
Solved by:
Valheru
Solved:
Last query:
Last reply:
Revision history for this message
Steven Danna (ssd7) said :
#1

Please do the following to get some useful information

1) Open a terminal by going to Applications then Accessories and then Terminal
2) Type in the following at the command line:

qbittorrent

3) Copy and paste the output back here.

Revision history for this message
Valheru (externovalheru) said :
#2

:~$ qbittorrent
qbittorrent: error while loading shared libraries: libtorrent-rasterbar.so.2: cannot open shared object file: No such file or directory
I have installed these packets:

http://yfrog.com/1264275732p

Revision history for this message
Christophe Dumez (hydr0g3n) said :
#3

You're the second Ubuntu Jaunty user to report this. This is very likely to be a packaging problem.

The thing is I'm using Jaunty too and I don't experience any problem. I found something strange in your screenshot :
You have libtorrent-rasterbar 0.14.3-0ubuntu1~jaunty

In my jaunty, I can only find libtorrent-rasterbar 0.14.2-2ubuntu1

I think your more recent package must be faulty. Could you please tell me which repository it comes from? (right click in synaptic > properties > Versions tab"

Try "package > force version..." in synaptic to go back to previous libtorrent-rasterbar package in the meantime.

Revision history for this message
Valheru (externovalheru) said :
#4

hm. i tryied to reinstall libtorrent-rasterbar. Now i have:
qbittorrent: symbol lookup error: qbittorrent: undefined symbol: _ZN10libtorrent7session13add_extensionEN5boost8functionIFNS1_10shared_ptrINS_14torrent_pluginEEEPNS_7torrentEPvEEE

http://yfrog.com/0tsynapticp

Revision history for this message
Christophe Dumez (hydr0g3n) said :
#5

According to : http://packages.ubuntu.com/jaunty/libtorrent-rasterbar2

Last version is 0.14.2-2ubuntu1.

I really don't know where you got your package from. It must be some kind of unofficial package.
Please tell me where you got it from so that I can report a bug in the right place.

qBittorrent *is* compatible with libtorrent-rasterbar v0.14.3 but it is likely that qbittorrent package needs to be recompiled against new libtorrent-rasterbar for it to work.
This is clearly a packaging problem : somebody updated libtorrent-rasterbar2 package but forgot to rebuild qbittorrent package.

Revision history for this message
Christophe Dumez (hydr0g3n) said :
#6

libtorrent-rasterbar and libtorrent-rasterbar2 cannot co-exist !!

It is likely that they come from different repositories. (please remove hydr0g3n repository if you are still using it). Please remove libtorrent-rasterbar and install an older version of libtorrent-rasterbar2 (v0.14.2).

Then tell me where you got v0.14.3 from :)

Revision history for this message
Valheru (externovalheru) said :
#7

i installed previous version as you said. now i have in console:
QLayout: Attempting to add QLayout "" to properties "properties", which already has a layout

but qbittorrent WORKS!!!!

THX!!

Revision history for this message
Christophe Dumez (hydr0g3n) said :
#8

Faulty repository is likely to be:
deb http://ppa.launchpad.net/deluge-team/ppa/ubuntu jaunty main #Deluge
deb-src http://ppa.launchpad.net/deluge-team/ppa/ubuntu jaunty main #Deluge

It provides more recent libtorrent-rasterbar packages but qBittorrent packages are not rebuilt against them (only Deluge).

Revision history for this message
slumbergod (slumbergod) said :
#9

I had tried qbitorrent several times also, after upgrading to Jaunty and discovering how buggy the new deluge client was. But I kept getting errors too and couldn't work out why. I have been using the ppa above and will try disabling it and rolling back the version as suggested in this thread.

Before I do so, is it likely that I will break deluge by rolling back the version of libtorrent? I have a lot of very large torrents that I need to complete in deluge so I would like to try qbitorrent alongside deluge so I can see if it better suits my needs.

Any thoughts?

Or will qbitorrent soon use the latest libtorrent like delufe?

Revision history for this message
Christophe Dumez (hydr0g3n) said :
#10

It is not a problem of using the latest libtorrent like deluge :) qBittorrent *does* work perfectly with latest libtorrent. The only problem is that it needs to be compiled against the right libtorrent version.

Jaunty only provides libtorrent v0.14.2. Therefore, qbittorrent packages are compiled against this version.
To answer your question now, there is very little chance that libtorrent package is updated in Jaunty. As a consequence, officiel Ubuntu jaunty qbittorrent package won't work with libtorrent v0.14.3.

I believe there is an official package of Deluge in Ubuntu Jaunty. Why did you need an unofficial repository?
Reverting back to the packages in Ubuntu should work just fine.

Worst case scenario, Deluge from Ubuntu Jaunty refuses to resume your torrents (I don't know about reverse compatibility). It this happens, you can always resume your torrents with qBittorrent.

To continue your downloads with qbittorrent, you will need the *.torrent files (probably saved somewhere by Delugen maybe in ~/.deluge). Then, when you add these torrents in qBittorrent, you select as download path, the path where you started the downloads. qBittorrent *will* detect that torrents already exist in destination directory, it will check them and resume them.

Revision history for this message
slumbergod (slumbergod) said :
#11

Hi Christophe,

thanks for taking the time to reply.

You seem curious why so many people have added the Deluge PPA? I think a lot
of us got a shock when we installed Jaunty. Previously, we were using Deluge
0.5.9.3 and this was quite stable and worked well. When we installed Jaunty
suddenly we had to use Deluge 1.1.6. This development phase of the
application has been notoriously buggy...for many the problems were just too
much and they desperately looked at alternatives. Most look at Transmission
because it works well in Gnome, but it is a bit too simple for users
accustomed to Deluge.

The solution is to try and move to a more stable release of Deluge and that
is usually available in the developers PPA. The latest version, 1.1.8 isn't
in the PPA yet but most of us grabbed it from GetDeb.

I disabled the PPA for Deluge and looked at rolling back to the previous
libtorrent, as released with Jaunty. Unfortunately, synaptic wanted to
uninstall Deluge which is something I don't want to do. I almost screwed my
last install of Xubuntu by rolling back dependencies so I am too cautious to
try that again.

Eventually, I am guessing qBittorrent will use the newer libtorrent, right?
I can wait until then.

2009/5/29 Christophe Dumez <email address hidden>

> Question #72063 on qBittorrent changed:
> https://answers.launchpad.net/qbittorrent/+question/72063
>
> Christophe Dumez posted a new comment:
> It is not a problem of using the latest libtorrent like deluge :)
> qBittorrent *does* work perfectly with latest libtorrent. The only
> problem is that it needs to be compiled against the right libtorrent
> version.
>
> Jaunty only provides libtorrent v0.14.2. Therefore, qbittorrent packages
> are compiled against this version.
> To answer your question now, there is very little chance that libtorrent
> package is updated in Jaunty. As a consequence, officiel Ubuntu jaunty
> qbittorrent package won't work with libtorrent v0.14.3.
>
> I believe there is an official package of Deluge in Ubuntu Jaunty. Why did
> you need an unofficial repository?
> Reverting back to the packages in Ubuntu should work just fine.
>
> Worst case scenario, Deluge from Ubuntu Jaunty refuses to resume your
> torrents (I don't know about reverse compatibility). It this happens,
> you can always resume your torrents with qBittorrent.
>
> To continue your downloads with qbittorrent, you will need the *.torrent
> files (probably saved somewhere by Delugen maybe in ~/.deluge). Then,
> when you add these torrents in qBittorrent, you select as download path,
> the path where you started the downloads. qBittorrent *will* detect that
> torrents already exist in destination directory, it will check them and
> resume them.
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>

--
David Scott, BSc BA TESOL
~~~~~~~~~~~~~~~~~~~~~
Live Messenger: <email address hidden>
Gmail Chat: <email address hidden>
COSC@OTAGO GOOGLE GROUP: http://groups.google.com/group/coscotago
My Picasa Web Albums:
http://picasaweb.google.com/slumbergod

“Grass is yuk, eh!¨, NZ Yellow Pages TV ad.

Please do not send jokes or online cards...you just give my email addresses
to spammers!!!

Revision history for this message
Christophe Dumez (hydr0g3n) said :
#12

If by eventually you mean, in next release of Ubuntu (Kasmic Koala), then yes.

Revision history for this message
slumbergod (slumbergod) said :
#13

Well, as it turned out my current Deluge 1.1.8 (latest) threw a hiccup and corrupted all of my current torrents. That happened to provide a good opportunity to switch to qBittorrent. While Deluge is very powerful in its features, the developers certainly haven't achieved stability and this is not the first time the "new" series have had major problems.

Forcing the libtorrent back to the Jaunty default repo package worked fine. Actually, Deluge started fine with it too, except that as predicted, it couldn't handle partially complete torrents. This time qBittorrent started perfectly and I did manage to recover some of the completed torrents (using force recheck to verify that had indeed been completed properly before the Deluge disaster). For those I lost I just added them to qBittorrent again from the original torrent files.

Certainly, coming from Deluge's powerful interface and feature set to qBittorrent takes a bit to get used to but that said, the most important aspect is stability and robustness. The Deluge developers seem intent on releasing untested release after untested release and while that might seem good, not everyone wants to be a guinea pig tester. If the driving force behind qBittorrent is releasing stable versions I would certainly like to help in anyway I can (I have a few suggestions for interface labels in English). At the very least I will help promote it by spreading the word.

Thanks for the suggestions on getting qBittorrent up and running.

Revision history for this message
m42h31 (m42h31) said :
#14

i got same problem on ubuntu 9.10,
my installed qbittorrent from repository :
deb http://ppa.launchpad.net/hydr0g3n/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/hydr0g3n/ppa/ubuntu karmic main

last update yesterday..
Get:1 http://ppa.launchpad.net karmic/main libtorrent-rasterbar5 0.14.7+svn.r4133-0ubuntu2 [17.4kB]
Get:2 http://ppa.launchpad.net karmic/main qbittorrent 2.0.3-0ubuntu1 [1,865kB]

error :
qbittorrent: error while loading shared libraries: libtorrent-rasterbar.so.5: cannot open shared object file: No such file or directory

Revision history for this message
Christophe Dumez (hydr0g3n) said :
#15

I'm in the process of updating the packages. Sorry about that. I have some building issues on the PPA and I'm addressing it. Everything should be ok soon.

Revision history for this message
Christophe Dumez (hydr0g3n) said :
#16

All packages were rebuilt. "apt-get update" and all should be fine now. Sorry for the inconvenience.

Revision history for this message
m42h31 (m42h31) said :
#17

Thank you very much Christophe for fast response..
i have take an update and qbittorrent is working fine on my PC now..
Thanks.. :)