You are not logged in.

#1 2014-02-15 16:25:01

necbot
Member
Registered: 2013-12-05
Posts: 59

0ad error

Where I launch 0ad I get this error...

[necbot@pc ~]$ 0ad
/usr/bin/pyrogenesis: error while loading shared libraries: libminiupnpc.so.9: cannot open shared object file: No such file or directory

However miniupnpc is installed...


[necbot@pc ~]$ sudo pacman -Ss miniupnpc
community/miniupnpc 1.9-1 [installed]
    A small UPnP client library/tool to access Internet Gateway Devices

Is this a bug?

Offline

#2 2014-02-15 16:46:29

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,929
Website

Re: 0ad error

Looks like libminiupnpc.so has just had a soname bump, so libminiupnpc.so.9 no longer exists. 0ad needs to be recompiled against the updated library.

You should open a bug report on the bug tracker.

https://bugs.archlinux.org/newtask?proj … ER+SUMMARY


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2014-02-15 16:48:47

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: 0ad error

The 64-bit miniupnpc is already on version 1.9-1 and provides /usr/lib/libminiupnpc.so.10 https://www.archlinux.org/packages/?sor … =&flagged= ?

Please open a bug report. For now, try downgrading miniupnpc.


Edit: Sorry, WorMzy, the forum is having hiccups again. I should have refreshed the page before resubmitting my post.

Last edited by karol (2014-02-15 16:50:12)

Offline

#4 2014-02-15 18:31:16

korn36
Member
Registered: 2014-01-14
Posts: 111

Re: 0ad error

Or try symlinking /usr/lib/miniupnpc.so.10 to /usr/lib/miniupnpc.so.9, however that probably won't work.

Offline

#5 2014-02-15 18:39:20

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,929
Website

Re: 0ad error

Don't do that, it's a terrible idea and will probably result in segfaults and other problems.

Korn36, please read up on why soname bumps happen.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2014-02-16 16:14:33

fhdrin
Member
Registered: 2012-05-10
Posts: 26

Re: 0ad error

downgrade to 'community/miniupnpc 1.8.20131209-1' got 0ad running again.

Offline

#7 2014-02-16 16:19:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: 0ad error

Offline

#8 2014-02-16 20:02:28

ataf
Member
Registered: 2014-02-16
Posts: 8

Re: 0ad error

It was closed today but the bug still exists on x86_64 platform (i686 was updated today only).
Should I create a new bug report? I still have the issue on x86_64
Thanks!

Offline

#9 2014-02-16 20:03:52

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: 0ad error

What version of 0ad are you using?

Offline

#10 2014-02-16 20:06:51

ataf
Member
Registered: 2014-02-16
Posts: 8

Re: 0ad error

The last one (a15-3). Installed today

~  yaourt -Ss 0ad
community/0ad a15-3 [installed]

➜  ~  0ad
/usr/bin/pyrogenesis: error while loading shared libraries: libminiupnpc.so.9: cannot open shared object file: No such file or directory

Last edited by ataf (2014-02-16 20:12:14)

Offline

#11 2014-02-16 20:12:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Offline

#12 2014-02-16 20:35:08

ataf
Member
Registered: 2014-02-16
Posts: 8

Re: 0ad error

Thanks!
just sent the request

Offline

#13 2014-02-16 22:21:24

abveritas
Member
Registered: 2012-05-04
Posts: 29

Re: 0ad error

In case the bug report does get re-opened, you might want to post that 0ad has hardcoded the API for miniUPnPc in libraries/source/miniupnpc/src/apiversions.txt
and
libraries/source/miniupnpc/src/CMakeLists.txt

Just rebuilding will keep it linking to .so.9

Last edited by abveritas (2014-02-16 22:21:48)

Offline

#14 2014-02-17 20:52:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: 0ad error

Offline

Board footer

Powered by FluxBB