You are not logged in.
Hi.
Thunar does not work after upgrading libpng and libjpeg so I tried to rebuild thunar myself and it said:
/usr/bin/ld: cannot find -lpng12
collect2: ld returned 1 exit status
And the build failed.
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
Offline
Yes, I know.
I get thunar from abs, patch it to make it better, and compile, but it won't build anymore.
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
I recommend fully syncing with the fr mirrors, to get all the packages, since those mirrors i know are the the most frequently updated. Try uncommenting them in /etc/pacman.d/mirrorlist and pacman -Syyu.
Thunar works here.
Last edited by Acecero (2010-02-01 15:31:21)
Offline
I guess you are using the libpng patch from ABS as not using it would not cause this error.
Unless it is something from your patches causing the issue, it seems your system is not fully up to date. Wait and try updating again later (or try a different mirror).
Offline
Acecero: I synced to the fr mirrors, they had no updates for me. Synced directly to ftp.archlinux.org, and there were some updates but it still doesn't work after installing them.
Allan: No I'm not using a libpng patch.
I tried to compile my modified slim, and that failed also and so did vanilla fbsplash from AUR.
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
If you really need libpng12 then install it using http://aur.archlinux.org/packages.php?ID=33795
Offline
If you really need libpng12 then install it using http://aur.archlinux.org/packages.php?ID=33795
thanks, this fixed problem.
this does not fix the issue:
1) run pacman -Scc
2) install libpng 1.4.0-2 from
Server = ftp://mirrors.kernel.org/archlinux/$repo/os/i686
which is up-to-date according to the mirrorlist
however during gtk2 installation I have got this error:
upgrading gtk2 [##############################################################] 100%
usr/bin/gtk-query-immodules-2.0: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
g_module_open() failed for /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so: libpng12.so.0: cannot open shared object file: No such file or directory
g_module_open() failed for /usr/lib/gtk-2.0/2.10.0/loaders/io-wmf.so: libjpeg.so.7: cannot open shared object file: No such file or directory
so libpng 1.4.0-2
is buggy. This makes a lot of gtk2 dependent software refusing to work.
Offline
@broch that because you have other cairo package. pacman -Qs cairo. rebuilt it yourself and reinstall gtk2. next time use search function seens you bump into wrong thread.
Give what you have. To someone, it may be better than you dare to think.
Offline
not really
I have run
1) pacman -Scc
2) pacman -Syu
updated cairo to cairo 1.8.8-2
updated gtk2 to gtk2 2.18.6-1
updated libpng to libpng 1.4.0-2
see error above: missing libpng12
Last edited by broch (2010-02-01 19:06:55)
Offline
not really
I have run
1) pacman -Scc
2) pacman -Syuupdated cairo to cairo 1.8.8-2
updated gtk2 to gtk2 2.18.6-1
updated libpng to libpng 1.4.0-2see error above: missing libpng12
libpng is not missing. just remove that crap and reinstall gtk2(you didn't posted any logs to see what packages got updated). if now you don't have any errors that mean some packages that depend of gtk2 got updated after. i've seen some cases
Give what you have. To someone, it may be better than you dare to think.
Offline
the error is described above. It is related to gkt2 not cairo:
failed for /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so: libpng12.so.0: cannot open shared object file: No such file or directory
so should I remove gtk2? This will break whole system.
current fix is provided in post #7 - installing libpng12 separately (from AUR)
So I fixed problem by providing library not furnished by libpng from extra but by compiling and installing missing library.
pacman -Q | grep libpng
libpng 1.4.0-2
libpng12 1.2.40-1
in other words libpng12 seems to be not required by new packages, but it is required by some leftovers that screw up whole system:
it seems that error refers to gtk2 version 2.10
even though I have installed gtk2 2.18
missing libpng12 screws up many packages. This means that at some point package updater failed. You may not see this if system is newly installed.
Last edited by broch (2010-02-01 19:27:31)
Offline
the error is described above. It is related to gkt2 not cairo:
failed for /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so: libpng12.so.0: cannot open shared object file: No such file or directory
so should I remove gtk2? This will break whole system.
i never told you to remove gtk2 . i said to remove libpng12 and libjpeg and reinstall. pacman -S gtk2.
Last edited by wonder (2010-02-01 19:24:56)
Give what you have. To someone, it may be better than you dare to think.
Offline
If you really need libpng12 then install it using http://aur.archlinux.org/packages.php?ID=33795
Thankyou very much, thunar is compiling now.
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
broch wrote:the error is described above. It is related to gkt2 not cairo:
failed for /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so: libpng12.so.0: cannot open shared object file: No such file or directory
so should I remove gtk2? This will break whole system.
i never told you to remove gtk2 . i said to remove libpng12 and libjpeg and reinstall. pacman -S gtk2.
well you talk about cairo, then removing old crap while I did say that pacman cache was clean.
so gtk2 was downloaded today from arch server (see above)
I did got the error described in my post above
I did clean pacman cache again, re-installed gtk2 and still got the same error
Last edited by broch (2010-02-01 19:31:30)
Offline
@broch can you provide a list of packages updated today? here we go again. we broke this thread badly with different problems.
Last edited by wonder (2010-02-01 19:33:20)
Give what you have. To someone, it may be better than you dare to think.
Offline
sure but this is pretty long list:
[2010-02-01 05:12] synchronizing package lists
[2010-02-01 05:12] starting full system upgrade
[2010-02-01 07:51] synchronizing package lists
[2010-02-01 07:52] starting full system upgrade
[2010-02-01 08:34] synchronizing package lists
[2010-02-01 08:34] starting full system upgrade
[2010-02-01 08:35] synchronizing package lists
[2010-02-01 08:36] starting full system upgrade
[2010-02-01 08:38] removed cairo-cleartype (1.8.8-1)
[2010-02-01 08:39] synchronizing package lists
[2010-02-01 08:39] starting full system upgrade
[2010-02-01 08:39] synchronizing package lists
[2010-02-01 08:39] starting full system upgrade
[2010-02-01 08:48] synchronizing package lists
[2010-02-01 08:48] starting full system upgrade
[2010-02-01 08:49] synchronizing package lists
[2010-02-01 08:49] starting full system upgrade
[2010-02-01 08:51] removed smplayer-themes (0.1.20-1)
[2010-02-01 08:51] removed smplayer (0.6.8-1)
[2010-02-01 08:51] removed mplayer-skins (0.3-1)
[2010-02-01 08:51] warning: /etc/mplayerplug-in.conf saved as /etc/mplayerplug-in.conf.pacsave
[2010-02-01 08:51] removed mplayer-plugin (3.55-1)
[2010-02-01 08:51] removed mplayer (30325-1)
[2010-02-01 08:52] synchronizing package lists
[2010-02-01 08:52] starting full system upgrade
[2010-02-01 08:58] warning: /etc/inittab installed as /etc/inittab.pacnew
[2010-02-01 08:58] upgraded initscripts (2009.08-1 -> 2010.01-1)
[2010-02-01 09:10] synchronizing package lists
[2010-02-01 09:15] synchronizing package lists
[2010-02-01 09:15] starting full system upgrade
[2010-02-01 09:17] removed hugin (2009.2.0-2)
[2010-02-01 09:18] synchronizing package lists
[2010-02-01 09:18] starting full system upgrade
[2010-02-01 09:19] synchronizing package lists
[2010-02-01 09:19] starting full system upgrade
[2010-02-01 09:23] synchronizing package lists
[2010-02-01 09:23] starting full system upgrade
[2010-02-01 09:25] synchronizing package lists
[2010-02-01 09:25] starting full system upgrade
[2010-02-01 09:25] synchronizing package lists
[2010-02-01 09:25] starting full system upgrade
[2010-02-01 09:26] upgraded libpng (1.2.40-1 -> 1.4.0-2)
[2010-02-01 09:26] upgraded cairo (1.8.8-1 -> 1.8.8-2)
[2010-02-01 09:26] upgraded cairomm (1.8.2-1 -> 1.8.4-1)
[2010-02-01 09:26] upgraded libjpeg (7-1 -> 8-1)
[2010-02-01 09:26] upgraded libtiff (3.9.2-1 -> 3.9.2-2)
[2010-02-01 09:26] upgraded lcms (1.18-2 -> 1.18-3)
[2010-02-01 09:26]
[2010-02-01 09:26] NOTE for drcaw:
[2010-02-01 09:26] ----
[2010-02-01 09:26] ==> dcraw provides the simple commandline tools for raw conversion. If you
[2010-02-01 09:26] ==> are looking for a more sophisticated way consider gimp-ufraw, which
[2010-02-01 09:26] ==> provides a gimp-plugin and a standalone application that can even convert
[2010-02-01 09:26] ==> to 16-bit tiff files (which you can use in cinepaint eg.) So please do a
[2010-02-01 09:26] ==> 'pacman -S gimp-ufraw' to get it.
[2010-02-01 09:26]
[2010-02-01 09:26] upgraded dcraw (1.431-1 -> 1.432-1)
[2010-02-01 09:26] upgraded dosfstools (3.0.8-1 -> 3.0.9-1)
[2010-02-01 09:26] upgraded libcups (1.4.2-2 -> 1.4.2-3)
[2010-02-01 09:26] upgraded jasper (1.900.1-3 -> 1.900.1-4)
[2010-02-01 09:26] upgraded ghostscript (8.70-3 -> 8.70-4)
[2010-02-01 09:26] upgraded gtk2 (2.18.5-1 -> 2.18.6-1)
[2010-02-01 09:26] upgraded librsvg (2.26.0-1 -> 2.26.0-2)
[2010-02-01 09:26] upgraded libx11 (1.3.2-1 -> 1.3.3-1)
[2010-02-01 09:26] upgraded libwmf (0.2.8.4-5 -> 0.2.8.4-7)
[2010-02-01 09:26] upgraded imagemagick (6.5.8.5-1 -> 6.5.9.0-2)
[2010-02-01 09:26] upgraded dvdauthor (0.6.14-5 -> 0.6.14-6)
[2010-02-01 09:26] upgraded enblend-enfuse (3.2-3 -> 4.0-1)
[2010-02-01 09:27] upgraded xulrunner (1.9.1.6-1 -> 1.9.2-2)
[2010-02-01 09:27] upgraded firefox (3.5.6-1 -> 3.6-2)
[2010-02-01 09:27] upgraded gegl (0.1.0-1 -> 0.1.0-2)
[2010-02-01 09:27] upgraded libmng (1.0.10-2 -> 1.0.10-3)
[2010-02-01 09:27] upgraded gimp (2.6.8-1 -> 2.6.8-2)
[2010-02-01 09:27] upgraded gimp-ufraw (0.16-1 -> 0.16-2)
[2010-02-01 09:27] upgraded libgphoto2 (2.4.7-1 -> 2.4.7-2)
[2010-02-01 09:27] upgraded gphoto2 (2.4.7-1 -> 2.4.7-2)
[2010-02-01 09:27]
[2010-02-01 09:27] NOTE
[2010-02-01 09:27] ----
[2010-02-01 09:27] # If you want to use this driver with sane:
[2010-02-01 09:27] # echo "hpaio" >> /etc/sane.d/dll.conf
[2010-02-01 09:27]
[2010-02-01 09:27]
[2010-02-01 09:27] UPGRADING
[2010-02-01 09:27] ----
[2010-02-01 09:27] # This version no longer uses an init script. You should remove hplip
[2010-02-01 09:27] # from the /etc/rc.conf daemon list.
[2010-02-01 09:27]
[2010-02-01 09:27] upgraded hplip (3.9.12-2 -> 3.9.12-4)
[2010-02-01 09:27] upgraded imlib2 (1.4.2-3 -> 1.4.2-6)
[2010-02-01 09:27] upgraded k3b (1.69.0alpha4-1 -> 1.70.0beta1-1)
[2010-02-01 09:28] upgraded xine-lib (1.1.17-2 -> 1.1.17-3)
[2010-02-01 09:28] upgraded opencv (2.0.0-3 -> 2.0.0-4)
[2010-02-01 09:28] upgraded kipi-plugins (1.0.0-1 -> 1.0.0-2)
[2010-02-01 09:28] upgraded libdjvu (3.5.22-2 -> 3.5.22-3)
[2010-02-01 09:28] upgraded libdrm (2.4.17-2 -> 2.4.17-3)
[2010-02-01 09:28] upgraded libevent (1.4.12-1 -> 1.4.13-1)
[2010-02-01 09:28] upgraded libgdiplus (2.6-1 -> 2.6-2)
[2010-02-01 09:28] upgraded libpano13 (2.9.14-3 -> 2.9.14-4)
[2010-02-01 09:28] upgraded libquicktime (1.1.4-1 -> 1.1.4-2)
[2010-02-01 09:28] upgraded libtasn1 (2.2-1 -> 2.4-1)
[2010-02-01 09:28] upgraded libwebkit (1.1.15.4-2 -> 1.1.15.4-3)
[2010-02-01 09:28] upgraded live-media (2010.01.13-1 -> 2010.01.22-1)
[2010-02-01 09:28] warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew
[2010-02-01 09:28] upgraded pacman-mirrorlist (20091206-1 -> 20100131-1)
[2010-02-01 09:28] upgraded pciutils (3.1.5-1 -> 3.1.6-1)
[2010-02-01 09:28] upgraded perl-libwww (5.834-1 -> 5.834-2)
[2010-02-01 09:28] upgraded pil (1.1.7-1 -> 1.1.7-2)
[2010-02-01 09:28] upgraded pilot-link (0.12.4-1 -> 0.12.4-2)
[2010-02-01 09:28] upgraded plotutils (2.5.1-2 -> 2.6-1)
[2010-02-01 09:28] upgraded pm-utils (1.2.6.1-3 -> 1.2.6.1-4)
[2010-02-01 09:28] upgraded polkit (0.95-1 -> 0.96-1)
[2010-02-01 09:28] upgraded poppler (0.12.2-1 -> 0.12.3-1)
[2010-02-01 09:28] upgraded poppler-qt (0.12.2-1 -> 0.12.3-1)
[2010-02-01 09:28] upgraded qt3 (3.3.8-13 -> 3.3.8-14)
[2010-02-01 09:28] upgraded poppler-qt3 (0.12.2-1 -> 0.12.3-1)
[2010-02-01 09:28] upgraded pycairo (1.8.6-1 -> 1.8.8-1)
[2010-02-01 09:28] upgraded qscintilla (2.4.0-1 -> 2.4.0-2)
[2010-02-01 09:28] upgraded pyqt (4.6.2-1 -> 4.6.2-2)
[2010-02-01 09:28] upgraded pyqt3 (3.18.1-2 -> 3.18.1-3)
[2010-02-01 09:28] upgraded qtscriptgenerator (0.1.0-1 -> 0.1.0-3)
[2010-02-01 09:28] upgraded sdl_image (1.2.10-1 -> 1.2.10-2)
[2010-02-01 09:28] upgraded sdl_perl (2.2.6-2 -> 2.2.6-3)
[2010-02-01 09:28] upgraded sox (14.3.0-2 -> 14.3.0-3)
[2010-02-01 09:29] upgraded vigra (1.6.0-1 -> 1.6.0-2)
[2010-02-01 09:29] warning: /etc/conf.d/wireless-regdom installed as /etc/conf.d/wireless-regdom.pacnew
[2010-02-01 09:29] upgraded wireless-regdb (2009.08.05-1 -> 2009.11.25-1)
[2010-02-01 09:29] upgraded wpa_supplicant_gui (0.6.9-1 -> 0.6.9-2)
[2010-02-01 09:29] upgraded wxgtk (2.8.10.1-5 -> 2.8.10.1-6)
[2010-02-01 09:29] upgraded xine-ui (0.99.5-5 -> 0.99.5-6)
[2010-02-01 09:36] synchronizing package lists
[2010-02-01 09:36] starting full system upgrade
[2010-02-01 09:38] upgraded ffmpeg (20100108-2 -> 20100108-3)
[2010-02-01 09:41] upgraded gtk2 (2.18.6-1 -> 2.18.6-1)
[2010-02-01 09:43] synchronizing package lists
[2010-02-01 09:43] starting full system upgrade
[2010-02-01 09:53] upgraded libpng (1.4.0-2 -> 1.4.0-2)
[2010-02-01 09:54] upgraded gtk2 (2.18.6-1 -> 2.18.6-1)
[2010-02-01 10:09] synchronizing package lists
[2010-02-01 10:09] starting full system upgrade
[2010-02-01 10:10] upgraded libpng (1.4.0-2 -> 1.4.0-2)
[2010-02-01 10:10] upgraded gtk2 (2.18.6-1 -> 2.18.6-1)
[2010-02-01 10:24] installed libpng12 (1.2.40-1)
[2010-02-01 10:24] upgraded gtk2 (2.18.6-1 -> 2.18.6-1)
[2010-02-01 10:37] upgraded cups (1.4.2-2 -> 1.4.2-3)
[2010-02-01 10:38] synchronizing package lists
[2010-02-01 10:38] starting full system upgrade
[2010-02-01 10:45] NOTE
[2010-02-01 10:45] ----
[2010-02-01 10:45] Add your user to group 'scanner' to use scanner devices.
[2010-02-01 10:45] upgraded sane (1.0.20-3 -> 1.0.20-5)
[2010-02-01 10:45] synchronizing package lists
[2010-02-01 10:45] starting full system upgrade
[2010-02-01 10:46] upgraded cpufrequtils (006-4 -> 007-1)
[2010-02-01 11:01] installed cairo-cleartype (1.8.8-3)
[2010-02-01 11:07] installed mplayer (30325-2)
[2010-02-01 11:09] installed smplayer (0.6.8-2)
[2010-02-01 11:09] installed smplayer-themes (0.1.20-1)
[2010-02-01 11:10] installed mplayer-plugin (3.55-1)
Last edited by broch (2010-02-01 19:44:17)
Offline
LD_DEBUG=files gtk-query-immodules-2.0 > log 2>&1
LD_DEBUG=files gdk-pixbuf-query-loaders >> log 2>&1
post the log on http://pastebin.ca
cairo-cleartype (1.8.8-3) this was rebuilt against new libpng14 yes?
Last edited by wonder (2010-02-01 19:56:19)
Give what you have. To someone, it may be better than you dare to think.
Offline
Now some of my apps are having problems with libjpeg, for example thunar will not generate thumbnails of jpegs and I cannot compile fbsplash from the AUR.
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
LD_DEBUG=files gtk-query-immodules-2.0 > log 2>&1
LD_DEBUG=files gdk-pixbuf-query-loaders >> log 2>&1post the log on http://pastebin.ca
cairo-cleartype (1.8.8-3) this was rebuilt against new libpng14 yes?
here is pastebin:
http://pastebin.ca/1774689
yes, cairo-cleartype was re-compiled against new libpng14
I installed cairo-cleartype after I fixed gtk2 problems, so these are not related
Last edited by broch (2010-02-01 20:14:24)
Offline
also thunar outputs this to terminal when it is running
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
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
wonder wrote:LD_DEBUG=files gtk-query-immodules-2.0 > log 2>&1
LD_DEBUG=files gdk-pixbuf-query-loaders >> log 2>&1post the log on http://pastebin.ca
cairo-cleartype (1.8.8-3) this was rebuilt against new libpng14 yes?
here is pastebin:
http://pastebin.ca/1774689yes, cairo-cleartype was re-compiled against new libpng14
I installed cairo-cleartype after I fixed gtk2 problems, so these are not related
ok so here is the problem:
file=libpng12.so.0 [0]; needed by /usr/lib/libpangocairo-1.0.so.0
our pango package doesn't link to libpng. are you using other?
Give what you have. To someone, it may be better than you dare to think.
Offline
also thunar outputs this to terminal when it is running
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
so lets bump on a thread that doesn't have any connection to thunar. thunar works here x86_64 without any problem.
Last edited by wonder (2010-02-01 20:21:20)
Give what you have. To someone, it may be better than you dare to think.
Offline
broch wrote:wonder wrote:LD_DEBUG=files gtk-query-immodules-2.0 > log 2>&1
LD_DEBUG=files gdk-pixbuf-query-loaders >> log 2>&1post the log on http://pastebin.ca
cairo-cleartype (1.8.8-3) this was rebuilt against new libpng14 yes?
here is pastebin:
http://pastebin.ca/1774689yes, cairo-cleartype was re-compiled against new libpng14
I installed cairo-cleartype after I fixed gtk2 problems, so these are not relatedok so here is the problem:
file=libpng12.so.0 [0]; needed by /usr/lib/libpangocairo-1.0.so.0
our pango package doesn't link to libpng. are you using other?
o.k.
I deleted libpng12 and re-installed pango next tried to start firefox from commad line. FF generated error:
LoadPlugin: failed to initialize shared library /usr/lib/mozilla/plugins/libskypebuttons.so [libpng12.so.0: cannot open shared object file: No such file or directory]
started but looked really ugly. So without libpng12 there are problems still.
Offline
,/usr/lib/mozilla/plugins/libskypebuttons.so,1,libQtGui.so.4
,/usr/lib/mozilla/plugins/libskypebuttons.so,2,libQtCore.so.4
,/usr/lib/mozilla/plugins/libskypebuttons.so,3,libstdc++.so.6
,/usr/lib/mozilla/plugins/libskypebuttons.so,4,libc.so.6
i suppose you have other qt version. qt 4.5.3-4 and qt 4.6.1-1 from testing should be good
Last edited by wonder (2010-02-01 21:31:28)
Give what you have. To someone, it may be better than you dare to think.
Offline