aria2 package not working

I installed arai2 from network:utilities on OpenSUSE 13.2 i586, and I am presented with this error:

> aria2c
aria2c: symbol lookup error: aria2c: undefined symbol: _ZN5aria27ContextC1EbiPPcRKSt6vectorISt4pairISsSsESaIS5_EE
> # I then ran the following to investigate
> echo "_ZN5aria27ContextC1EbiPPcRKSt6vectorISt4pairISsSsESaIS5_EE" | c++filt
aria2::Context::Context(bool, int, char**, std::vector<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&)

What’s going on here?

Thanks,
DaAwesomeP

I never had a problem with “aria2c”.

But I installed it from the main (OSS) repo. Maybe you have installed a different version that happens to not be compatible with the installed libraries.

imo there are 2 possibileties for that error
#1 you installed a version build for a different distribution post your repo list


zypper lr -d
zypper se -si aria2

#2 that version was compiled with updated libraries that you do not have, that might require adding an extra repository.

the easiest solution is to use the one provided in the main OSS repo just install the standard distribution aria2

That’s probably it. I was trying to get the latest version, which is not available in 13.2. I will unsubscribe from network:utilities and just live with the old version.

> zypper lr -d
#  | Alias                                             | Name                                                          | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                                             | Service
---+---------------------------------------------------+---------------------------------------------------------------+---------+-----------+---------+----------+--------+-----------------------------------------------------------------------------------------------------------------+--------
 1 | download.opensuse.org-13.2-non-oss                | Update Repository (Non-Oss)                                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.2-non-oss/                                                               |
 2 | download.opensuse.org-non-oss                     | Main Repository (NON-OSS)                                     | Yes     | ( p) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.2/repo/non-oss/                                                    |
 3 | download.opensuse.org-oss                         | Main Repository (OSS)                                         | Yes     | ( p) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.2/repo/oss/                                                        |
 4 | download.opensuse.org-update                      | Main Update Repository                                        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.2/                                                                       |
 5 | ftp.gwdg.de-suse                                  | Packman Repository                                            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_13.2/                                                        |
 6 | google-chrome                                     | google-chrome                                                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/i386                                                               |
 7 | home:jjfalling:branches:home:chenxiaolong:SABnzbd | home:jjfalling:branches:home:chenxiaolong:SABnzbd             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/jjfalling:/branches:/home:/chenxiaolong:/SABnzbd/openSUSE_13.2/ |
 8 | home_DaAwesomeP_lirc-irman                        | Tools for Infrared Receivers (updated, irman) (openSUSE_13.2) | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://download.opensuse.org/repositories/home:/DaAwesomeP:/lirc-irman/openSUSE_13.2/                           |
 9 | home_DarkPlayer_Pipelight                         | Pipelight (openSUSE_13.2)                                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/DarkPlayer:/Pipelight/openSUSE_13.2/                            |
10 | network:utilities                                 | network:utilities                                             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/network:/utilities/openSUSE_13.2/                                     |
11 | opensuse-guide.org-repo                           | libdvdcss repository                                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/13.2/                                                                            |
12 | repo-debug                                        | openSUSE-13.2-Debug                                           | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/13.2/repo/oss/                                                  |
13 | repo-debug-update                                 | openSUSE-13.2-Update-Debug                                    | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.2/                                                                 |
14 | repo-debug-update-non-oss                         | openSUSE-13.2-Update-Debug-Non-Oss                            | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.2-non-oss/                                                         |
15 | repo-source                                       | openSUSE-13.2-Source                                          | No      | ----      | Yes     |   99     | yast2  | http://download.opensuse.org/source/distribution/13.2/repo/oss/                                                 |

> zypper se -si aria2
Repository 'network:utilities' is out-of-date. You can run 'zypper refresh' as root to update it.
Loading repository data...
Reading installed packages...

S | Name       | Type    | Version      | Arch   | Repository
--+------------+---------+--------------+--------+------------------
i | aria2      | package | 1.19.3-110.1 | i586   | network:utilities
i | aria2-lang | package | 1.19.3-110.1 | noarch | network:utilities
i | libaria2-0 | package | 1.19.3-1.2   | i586   | (System Packages)

Yup, that was it! I’ll just settle for 1.18.5 instead of 1.19.3. I don’t really want to compile it and have to grab all of the deps.

What’s interesting is that I downloaded the RPM from the build service marked for 13.2 from here: https://software.opensuse.org/download.html?project=network%3Autilities&package=aria2

The libraries that were needed might well have been in the repo that you used to install aria2. But then you would have needed to install a lot more from that library – possibly causing problems for other software.

It’s best to treat your system as a package deal - a bunch of software components carefully selected by the opensuse team to all work well together.

If you want the latest version of everything (i.e. the “bleeding edge”), then install Tumbleweed so that your package deal is bleeding edge for just about everything installed. If you prefer stability, then stay with a stable release and accept that some of the components are not the latest versions available.