You are not logged in.

#26 2010-02-01 21:40:51

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: cannot find -lpng12

thanks wonder,
you did help a lot smile
I am going to try and see if I can fix this according to your suggestions tomorrow. System is usable so this can wait as I have other stuff to do first.

Thanks again

Offline

#27 2010-02-03 06:53:11

alperosm
Member
Registered: 2010-02-03
Posts: 1

Re: cannot find -lpng12

@wonder: Great job helping people in forums! Great troubleshooting info in this thread!

Just registered to the forum to say thanks. Keep up the good work, it is much appreciated.

PS: For me the problem was "cairo-cleartype" package I installed from AUR and then forgot about. Removing libpng12, recompiling cairo-cleartype, followed buy a reinstall of gtk2 seem to cure all the linker problems. Just as wonder prescribed!

Offline

#28 2010-02-03 16:49:44

raymboard
Member
Registered: 2010-01-22
Posts: 61

Re: cannot find -lpng12

I still have this problem.

Withought libpng12 installed thunar won't open, saying:

thunar: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

and when I try to recompile thunar it fails saying:

/usr/bin/ld: cannot find -lpng12
collect2: ld returned 1 exit status

With libpng12 installed thunar opens but doesn't display any thumnails and says:

libpng warning: Application was compiled with png.h from libpng-1.4.0
libpng warning: Application  is  running with png.c from libpng-1.2.40
libpng error: Incompatible libpng version in application and library

and recompiling thunar succeeds but does not fix the error.


Linux is not an operating system it's a kernel. You're using GNU/Linux. http://www.gnu.org/gnu/linux-and-gnu.html

Offline

#29 2010-02-04 21:20:50

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: cannot find -lpng12

@raymboard all the information about how to debug and fix your problem are in this thread and in other threads like this.


Give what you have. To someone, it may be better than you dare to think.

Offline

#30 2010-02-05 01:51:55

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: cannot find -lpng12

Of course you still have the problem.

[stijn@hermes ~]$ grep ubuntu /var/log/pacman.log |tail -3
[2010-02-04 00:01] installed fontconfig-ubuntu (2.8.0-2)
[2010-02-04 00:05] installed libxft-ubuntu (2.1.14-2)
[2010-02-04 00:09] installed cairo-ubuntu (1.8.8-2)

If you have that problem, that means you have some custom packages that need rebuilding. I am betting the three above - fontconfig, libxft, cairo - are involved. Installing the old libpng is just an ugly hack for things that have to get fixed - fixed by you, the user, and not the devs.

Arch devs have done a complete rebuild; they couldn't have done a better job. Hundreds of users had a seamless upgrade, if something chokes, the stuff from the AUR or your own builds are the first things to look at.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB