12-28-2011, 03:23 PM | #1 |
Pledge
Join Date: Oct 2008
Location: Russian
Posts: 30
|
Not run regnum.
./rolauncher: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
extra/libpng 1.4.8-1 [installed] A collection of routines used to create PNG format graphics files multilib/lib32-libpng 1.4.8-1 [installed] A collection of routines used to create PNG format graphics files (32-bit) whereis libpng libpng: /usr/lib/libpng.so /usr/lib/libpng14.a /usr/lib/libpng14.so /usr/lib/libpng.a /usr/share/man/man3/libpng.3.gz How you see, all for run installed. What a problem?
__________________
All need a good war. |
12-28-2011, 05:38 PM | #2 |
Master
Join Date: May 2010
Location: Ireland
Posts: 438
|
Hmm, what distro? Using ubuntu 10.04 here and have a libpng12-0 package. First thing to try would be looking for a package that gives you libpng12 for your system.
If that is impossible you could try creating a symbolic link named libpng12.so.0 to the more recent version of libpng you have installed, 'locate libpng' should find it. Dont do this unless you have to though, it could break things. |
12-28-2011, 07:04 PM | #3 |
Count
Join Date: Sep 2008
Posts: 1,690
|
just make a symlink that points from libpng12.so.0 to your installed libpng14.so
|
12-28-2011, 09:39 PM | #4 |
Master
Join Date: May 2010
Location: Ireland
Posts: 438
|
lol, never knew you could use cp to make links Which distro? If I remember correctly libpng can run standalone, if you cant get a packaged version for your distro you should be able to strip it from an older package and put it into /usr/lib manually (run ldconfig afterwards), a lot of different applications use it though so it could cause wierd problems later.
You could also put a copy of libpng12 into your regnum folder and specify rolauncher should use it, cant remember how to though, will take a look later if your still having problems. Surprised this hasn't been a problem before, would be worth sending a ticket to support about it if you know everything is ok and up to date on your system. |
12-28-2011, 09:39 PM | #5 |
Pledge
Join Date: Oct 2008
Location: Russian
Posts: 30
|
standistortion Thanks for answer.
Distro ArchLinux. cd /usr/lib sudo cp -s libpng14.so.14.8.0 libpng12.so.0 ./rolauncher ./rolauncher: /usr/lib/libpng12.so.0: version `PNG12_0' not found (required by ./rolauncher) It seems that is hard tied to version 1.2 |
12-28-2011, 09:48 PM | #6 | |
Master
Join Date: May 2010
Location: England
Posts: 455
|
Quote:
Click Here! That should fix your problems. |
|
12-28-2011, 10:12 PM | #7 | |||
Pledge
Join Date: Oct 2008
Location: Russian
Posts: 30
|
Look man cp and look key -s.
Quote:
Quote:
My system ok. I play many games, even under wine, and everything works fine. Quote:
Awrath No, thx. I have this lib. But in it need copy /usr/lib, i dont want trash my system old lib. Last edited by aady; 12-28-2011 at 10:26 PM. |
|||
12-28-2011, 10:31 PM | #8 | ||
Master
Join Date: May 2010
Location: Ireland
Posts: 438
|
The link Awrath posted should work for you.
Quote:
Quote:
Happy Christmas |
||
12-29-2011, 12:58 AM | #9 |
Pledge
Join Date: Oct 2008
Location: Russian
Posts: 30
|
I get from other game libpng12.so.0 and copy in regnum dir, create simlink from regnum dir in /usr/lib, now all work.
standistortion No dude, you not understand. Mistaken one who compiled the game and compiled so that the library depends on the version. Last edited by aady; 12-29-2011 at 01:25 AM. |
12-29-2011, 08:53 AM | #10 |
Baron
Join Date: Aug 2009
Location: /dev/null
Posts: 766
|
That would've been easier if you just installed libpng12 from aur.
It doesn't interfere with other libpng versions. It doesn't replace or delete them. But nice that you fixed it anyways.
__________________
|
|
|