missing libpng12.so.0 ?

Linux specific forum
jamba
Enthusiast
Enthusiast
Posts: 144
Joined: Fri Jan 15, 2010 2:03 pm
Location: Triad, NC
Contact:

missing libpng12.so.0 ?

Post 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?
-Jon

Fedora user
But I work with Win7
GBeebe
Enthusiast
Enthusiast
Posts: 263
Joined: Sat Oct 09, 2004 6:52 pm
Location: Franklin, PA - USA
Contact:

Re: missing libpng12.so.0 ?

Post 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.
jamba
Enthusiast
Enthusiast
Posts: 144
Joined: Fri Jan 15, 2010 2:03 pm
Location: Triad, NC
Contact:

Re: missing libpng12.so.0 ?

Post 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!
-Jon

Fedora user
But I work with Win7
SeaWolf
User
User
Posts: 12
Joined: Mon Mar 15, 2010 6:06 pm
Location: France

Re: missing libpng12.so.0 ?

Post 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)
jamba
Enthusiast
Enthusiast
Posts: 144
Joined: Fri Jan 15, 2010 2:03 pm
Location: Triad, NC
Contact:

Re: missing libpng12.so.0 ?

Post 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)
-Jon

Fedora user
But I work with Win7
jamba
Enthusiast
Enthusiast
Posts: 144
Joined: Fri Jan 15, 2010 2:03 pm
Location: Triad, NC
Contact:

Re: missing libpng12.so.0 ?

Post 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?
-Jon

Fedora user
But I work with Win7
Pinhead
User
User
Posts: 47
Joined: Fri Sep 09, 2005 11:24 pm

Re: missing libpng12.so.0 ?

Post 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!
PB4.5---MacOs 10.6.4 / Archlinux 32+64bit / Vista Home Premium 32/64 / XP Home / W7- 64bit
jamba
Enthusiast
Enthusiast
Posts: 144
Joined: Fri Jan 15, 2010 2:03 pm
Location: Triad, NC
Contact:

Re: missing libpng12.so.0 ?

Post by jamba »

EVERYONE:

with arch, libpng12 is in the AUR!

Now purebasic will install again :-)


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

Fedora user
But I work with Win7
SeaWolf
User
User
Posts: 12
Joined: Mon Mar 15, 2010 6:06 pm
Location: France

Re: missing libpng12.so.0 ?

Post by SeaWolf »

Thanks, that will be useful ! :D
jamba
Enthusiast
Enthusiast
Posts: 144
Joined: Fri Jan 15, 2010 2:03 pm
Location: Triad, NC
Contact:

Re: missing libpng12.so.0 ?

Post by jamba »

SeaWolf wrote:Thanks, that will be useful ! :D
You're welcome. it's gotten me back up and running at home again!
-Jon

Fedora user
But I work with Win7
Post Reply