Libtorrent-rasterbar issues

Asked by Brutal_Moose

     Attempting to install libtorrent-rasterbar-0.14.7, on Ubuntu 15.04, when I receive the error: could not link against boost_system. As a new Linux user, how do I solve this? Please include each step as I am a novice. Thank you. I appreciate the help the Linux community offers.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Brutal_Moose
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

lsb_release -a; uname -a; apt-cache policy libtorrent-rasterbar

Thanks

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

Why do you want to install the outdated version 0.14.7 of libtorrent-rasterbar on your Ubuntu 15.04 system?
There is the version 0.16.18-1 available ready for hassle-free installation with the standard package management programs.

Revision history for this message
Brutal_Moose (brutalmoose) said :
#3

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid
Linux <COMPUTERNAME> 3.19.0-18-generic #18-Ubuntu SMP Tue May 19 18:31:35 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
N: Unable to locate package libtorrent-rasterbar

Thank you for the advice, Hampl. What you said makes sense to me, unfortunately, when I use Synaptic Package Manager or Ubuntu Software Center, there are too many choices when I search for "Libtorrent". I have tried a few that seem relevant, and they partially solved my problem, but I am afraid to try others, there are too many. What is the full name of the "package" that I should install? What is a package?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

sudo apt-get install libtorrent-rasterbar7

Will install it

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

Software for Ubuntu is distributed not as single files, but as packages.
Please read https://help.ubuntu.com/lts/serverguide/package-management.html and https://help.ubuntu.com/lts/serverguide/package-management-introduction.html

The package that you need for libtorrent-rasterbar is libtorrent-rasterbar7

Either search for it in software-center or install it with the terminal command

sudo apt-get install libtorrent-rasterbar7

You might consider also installing libtorrent-rasterbar-doc, python-libtorrent and python3-libtorrent (depending on what you want to do with it).

Revision history for this message
Brutal_Moose (brutalmoose) said :
#6

I was able to find the libtorrent-rasterbar 1.05 version. It was on a website that had did not organize the history of its releases, so required a 3rd look there to find the current version. You would think they would simply put the newest version at the top. Anyway, after a 15 minute installation completed, it did not automatically uninstall the previous version, like a good program would do. How do I uninstall Libtorrent-rasterbar?

Revision history for this message
Brutal_Moose (brutalmoose) said :
#7

I meant how do I uninstall the old version of it. I tried "make uninstall", and other commands, but none of them seem to respond.

*** No rule to make target

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

If you use the standard packages for Ubuntu, you can easily install and remove them with the package management tools.
We do not know how you installed the old version from that foreign web page, and so we cannot know how to uninstall.

If you try the commands

sudo updatedb
locate raterbar

you might find some of the files that that foreign version has installed.

Revision history for this message
Brutal_Moose (brutalmoose) said :
#9

     After fully installing Libtorrent-rasterbar 1.0.5, when attempting to install a website-downloaded "package" called "qbittorrent", it gives me this error:

configure: error: Package requirements (libtorrent-rasterbar >= 1.0.0) were not met:
Requested 'libtorrent-rasterbar >= 1.0.0' but version of libtorrent-rasterbar is 0.16.18=

     This means there is both evidence that the program was installed, and was not installed. You have asked where my package of libtorrent-rasterbar came from.

http://sourceforge.net/projects/libtorrent/files/libtorrent/

    Note that the current version of Libtorrent-rasterbar is the middle of the list, counter-intuitively. One detail perhaps complicating the uninstallation of the Libtorrent-rasterbar version 0.16.18, is that I installed several packages with the name libtorrent in them. Following the program's own directions I tried "make uninstall", and other commands, but none of them seem to respond:

*** No rule to make target

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

If you are a new user to Linux, why do you try to download packages from foreign sources instead of using the packages offered by the standard package management programs? These packages are prepared in a way that all dependencies are resolved, such that the problems that you are currently facing cannot happen.

You can list all libtorrent-related packages on your system with the command
dpkg -l | grep libtorrent

You should try installing the standard qbittorrent package with the command
sudo apt-get install qbittorrent

Revision history for this message
Brutal_Moose (brutalmoose) said :
#11

I used a "foreign" source for a program, because that had the newest version, 3.2, instead of the older version, 3.1.11-1. The new one has new features.

The program qbitorrent 3.2 did not leave depencies unresolved, or files missing on my system, so that is a red herring.

I installed Libtorrent-rasterbar 0.16.18, then uninstalled it. Then I installed Libtorrent-rasterbar 1.05.

When I attempt to install qbitorrent 3.2, it senses the previous version of Libtorrent-rasterbar 0.16.18, instead of the currently installed 1.05. How do I make it see the version that is there, rather than the version that is not?

Revision history for this message
Manfred Hampl (m-hampl) said :
#12

We can only help if we get information about your system. Please provide the output of the terminal commands

dpkg -l | grep torrent
sudo updatedb
locate rasterbar

If you are a novice, you might also start reading https://help.ubuntu.com/community/InstallingSoftware and the pages linked from it

Revision history for this message
Brutal_Moose (brutalmoose) said :
#13

Thank you suggesting the dpkg -l | grep torrent command, it was useful in removing all but one of the several old 0.16.18 versions of libtorrent related programs on my system. I was able to progress further in my installation of qbittorrent 3.2, however I ran into yet another bug:

strip:/usr/local/share/icons/hicolor/96x96/apps/qbittorrent.png: File format not recognized
strip:/usr/local/share/applications/qBittorrent.desktop: File format not recognized

It repeats this bug about 15 times. I could not find any helpful information about this bug on other websites.

Revision history for this message
Manfred Hampl (m-hampl) said :
#14

Which command is producing these error messages? It seems that the installation process tries to optimize executable files, and also tries to do that in the desktop icon - and of course fails.
If you want to get help, you have to provide more information.

Revision history for this message
Brutal_Moose (brutalmoose) said :
#15

Following the instructions given in the Qbittorrent program, I used the commands:

./configure
make
sudo make install

Which produced the following errors about 15 times:

strip:/usr/local/share/icons/hicolor/96x96/apps/qbittorrent.png: File format not recognized
strip:/usr/local/share/applications/qBittorrent.desktop: File format not recognized

Revision history for this message
Manfred Hampl (m-hampl) said :
#16

So apparently you are not using the Ubuntu-provided version of qbittorrent (which should install without hassle), but some source provided somewhere else.
We cannot help with that, you have to contact the provider of that source.

Revision history for this message
Brutal_Moose (brutalmoose) said :
#17

 I have gone to many websites and downloaded debian packages that I subsequently used in the Ubuntu Software Center. Your response implies that the Ubuntu team created thousands of these packages.

If you go to Ubuntu Software Center > search for Qbittorrent > click developer website link, you will arrive at the official website for the program. My understanding is that the Qbittorrent package that Ubuntu Software Center processes and the Qbittorrent program itself originate from the same source. If two things are the same program and originate from the same source, why differentiate between them when helping a novice?

Revision history for this message
Manfred Hampl (m-hampl) said :
#18

Of course you will find a reference from the Ubuntu pages for qbittorent back to the original source page.
But you have to understand the following:

The developers have adapted the original qbittorrent (and rasterbar) source, that it cooperates well with Ubuntu, and that it can be installed and uninstalled without problems.
If you try going back to the original source, you have to re-do all those adaptions. I am not the developer who packaged qbittorrent for Ubuntu, and so I do not have any knowledge what modifications are required to let it work with Ubuntu.

To get an idea, check the source package in Ubuntu. That consists of three parts: the original source, the modifications for Ubuntu (named Debian, because it is similar to Debian packaging), and a descriptive file

see e.g. https://launchpad.net/ubuntu/+source/qbittorrent/3.1.11-1 below the heading "Downloads".

Revision history for this message
Brutal_Moose (brutalmoose) said :
#19

Thank you for providing more information. Unfortunately I am a novice, and some of your words are unclear to me. Your 2nd paragraph references "developers", but does not concretely say if these are developers with the Ubuntu OS team, or developers with the Qbittorrent team.

I viewed the three file examples that you linked, and that was helpful in understanding what you meant by a package adapted to Ubuntu. This new knowledge raises the question of why this information is not listed on that website itself, to promote understanding amongst the numerous novice users of Linux out there? Does the Linux community want new users?

Revision history for this message
Manfred Hampl (m-hampl) said :
#20

You are completely right. The reference to "developers" was not precise.
In fact these are the persons, who are responsible for packaging the qbittorrent software for Ubuntu. Usually they are members of the Ubuntu community, for some packages the same persons are doing packaging for Debian and Ubuntu, and for the qbittorrent package it seems to me that one of the persons involved in Ubuntu packaging, is even member of the qbittorrent community.

And of course the Linux community wants new users.

Ubuntu is a quite open system, so you can do whatever you want. You can install pre-configured packages for your Ubuntu system, but you can also install software from other sources. The only thing you have to be aware of, when you stick to the Ubuntu packages, you will be able to get help from the community. If you install software from other sources, we cannot help, because we do not know the details of that foreign software.

Revision history for this message
Brutal_Moose (brutalmoose) said :
#21

Thanks Manfred!

Revision history for this message
Brutal_Moose (brutalmoose) said :
#22

Maybe on Qbittorrent's download page, there could be a warning that that area is not for intermediate to advanced users only? When I was an expert in producing game-mods, I would give such a warning, where appropriate, to reduce confusion and assist novices.