Page 1 of 1

missing libpng12.so.0 ?

Posted: Thu Feb 25, 2010 4:25 am
by jamba
Maybe I missed a way to fix this. My compiler used to work fine, until a system upgrade mentioned below.
I've been just running the purebasic editor file, without having it actually installed.

Purebasic 4.41
Arch Linux (Kernel 2.6.62.9-1)

Code: Select all

$ uname -a
Linux Apollo 2.6.32-ARCH #1 SMP PREEMPT Tue Feb 9 15:12:10 CET 2010 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ AuthenticAMD GNU/Linux

Code: Select all

$ cd /home/jon/purebasic/compilers
$ ./purebasic
./purebasic: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
A while back the new rebuilds of libpng/libjpeg came down the pipe. Current version is libpng 1.4.0-2 ( http://www.libpng.org/pub/png/libpng.html )

Is there a way around this so I can get purebasic running again?

Re: missing libpng12.so.0 ?

Posted: Sat Feb 27, 2010 4:03 am
by GBeebe
Try this: Find the current version of the .so, right click it and choose make link. Then, I think, you can rename the link to libpng12.so.0 and it should work.

Re: missing libpng12.so.0 ?

Posted: Wed Mar 03, 2010 3:48 pm
by jamba
GBeebe wrote:Try this: Find the current version of the .so, right click it and choose make link. Then, I think, you can rename the link to libpng12.so.0 and it should work.
hmm, cool, I'll give that a try later today. Thanks!

Re: missing libpng12.so.0 ?

Posted: Mon Mar 15, 2010 6:13 pm
by SeaWolf
Glad to find a fellow Arch Linux and PureBasic user :)

I had the same trouble, and created a symbolic link, but it still doesn't work :(

Code: Select all

./purebasic: /usr/lib/libpng12.so.0: version `PNG12_0' not found (required by ./purebasic)

Re: missing libpng12.so.0 ?

Posted: Mon Mar 15, 2010 6:15 pm
by jamba
Sweet!

on the other hand, sucks the symbolic link does not work. I haven't even been back on my Arch PC, still.
Hm, there has to be some kind of way around this (aside from recompiling and installing the old library)

Re: missing libpng12.so.0 ?

Posted: Sat Mar 27, 2010 3:14 pm
by jamba
any chance this will be fixed in the next purebasic release, or will version 1.2 still be current for it as well?

Re: missing libpng12.so.0 ?

Posted: Thu Jun 24, 2010 11:39 pm
by Pinhead
Same problem. Can not use any self developed PB-code/PB-Binary under arch!
Pease patch this, it's a very big problem for me!

Re: missing libpng12.so.0 ?

Posted: Thu Jul 08, 2010 12:00 pm
by jamba
EVERYONE:

with arch, libpng12 is in the AUR!

Now purebasic will install again :-)


http://aur.archlinux.org/packages.php?ID=33795

Re: missing libpng12.so.0 ?

Posted: Sun Jul 11, 2010 5:12 pm
by SeaWolf
Thanks, that will be useful ! :D

Re: missing libpng12.so.0 ?

Posted: Mon Jul 12, 2010 2:49 pm
by jamba
SeaWolf wrote:Thanks, that will be useful ! :D
You're welcome. it's gotten me back up and running at home again!