Hi, first of all excuse for my poor english and sorry if this in not the right forum and sorry if I don't know how to explain myself, but I'll try to give more information as possible.
Well, I have a problem and I've been looking for a solution with no sucess, and I've been searching and reading for hours and hours (believe me, I have only slept 3 hours today), so this is maybe my last chance...
PROBLEM
Ok, this is the problem: I can't see png images and this include all system icons, wallpapers and even the KDE splash. But almost everything else is ok, I can click icons provided that I know where they are (because as I said, I can't currently see them!) and all applications will run (but, again, showing no icons at all). Just imagine an average KDE desktop with fully transparent icons... Weird.
I know this affects only png files because I installed a sgv icon theme (it is called Mono, downloaded form kde-look.org) just for testing and I can see the new icons. BTW they are really nice black & white icons BUT, and this is why I said 'almost everything else is ok', Konqueror file browser will crash... So the problem is something more important than just some icons not showing up...
THIS IS WHAT I DID:
I'm using Suse 9.3 (64bits) with KDE 3.4 with no problems at all.
I recently installed Apache 2, MySQL 5, PHP 5 and phpMyAdmin -in that order- from source (configure, make, make install, all of them in /usr/local except for phpMyAdmin that I installed in my public_html folder), and I just had one error: trying to install PHP with GD support (PHP's bundled GD) configure couldn't find libpng -libpng.(a|so) not found- BUT I had libpng installed from YAST (libpng and libpng-devel too).
It was very weird because I had libpng (and any other required library like libjpeg, zlib and even dev packages like zlib-devel and so on, all of them installed from YAST). I read lots of bugs and discussions at php.net and many other sites saddly with no working solution for my problem...
The libpng version installed by YAST is 1.2.8-3 (both 1.2.8-3 i586 and both 1.2.8-3 x86_64) both at /usr/lib and /usr/lib64 and when configuring PHP I used this option (among many others): --with-png-dir=/usr/lib64 (also tried with /usr/lib /usr/include, etc.)
OK, I tried this and many other options with the same result: libpng.(a|so) not found. So I finally decided to install libpng from scratch. I downloaded libpng-1.2.16 from libpng.org and installed it (configure, make, make install) in /usr/local. Them I configured PHP wiht the option --with-png-dir=/usr/local and everything went fine and PHP with GD supoort was installed. I installed and configured phpMyAdmind after that and I was done with my LAMP system: Apache is working, MySQL is working, PHP is working and with GD support, and phpMyAdmin is working. Nice.
IT'S ALL ABOUT LIBPNG
But then, when I started my computer today I found that all the icons had disappeared from the desktop (including panels) and all applications except a few of them like Firefox. Even the wallpaper is gone... But as I said it only affects to png files (I can see jpeg wallpapers or svg icons) so I'm pretty sure this has to see with my libpng installation...
I don't really care about icons, and can live with the Mono theme if needed, BUT Konqueror is also failing and who knows what more will fail...
I guess something is asking for the wrong libpng library or something is looking for the library in the wrong place but... I'm not sure and I don't know how to slve this...
Why do I guess it's libpng what is causing the problem?
- Well, first because this happens since I installed libpng from source.
- Second, it only affects to png files.
- Third, because of this (what I get when Konqueror crash, lots of png references, but saddly I don't know what they mean):
Code:
[KCrash handler]
#3 0x00002aaaae5cd855 in free () from /lib64/tls/libc.so.6
#4 0x00002aaaad69b1b8 in png_free_default (png_ptr=<value optimized out>,
ptr=<value optimized out>) at pngmem.c:525
#5 0x00002aaaad69b1f5 in png_free (png_ptr=<value optimized out>,
ptr=<value optimized out>) at pngmem.c:509
#6 0x00002aaaad6875c5 in png_set_text_2 (png_ptr=0xa0e0f0, info_ptr=0x98ef90,
text_ptr=0xb2b730, num_text=5) at pngset.c:761
#7 0x00002aaaad687aa9 in png_set_text (png_ptr=0xa0e0f0,
info_ptr=<value optimized out>, text_ptr=<value optimized out>,
num_text=<value optimized out>) at pngset.c:722
#8 0x00002aaaac8adae9 in QPNGFormat::QPNGFormat ()
from /usr/lib/qt3/lib64/libqt-mt.so.3
#9 0x00002aaaac8ade55 in QPNGImageWriter::writeImage ()
from /usr/lib/qt3/lib64/libqt-mt.so.3
#10 0x00002aaaac8ae333 in QPNGImageWriter::writeImage ()
from /usr/lib/qt3/lib64/libqt-mt.so.3
#11 0x00002aaaac64db38 in QImageIO::write ()
from /usr/lib/qt3/lib64/libqt-mt.so.3
#12 0x00002aaaac650eac in QImage::doImageIO ()
from /usr/lib/qt3/lib64/libqt-mt.so.3
#13 0x00002aaaac651e85 in QImage::save () from /usr/lib/qt3/lib64/libqt-mt.so.3
#14 0x00002aaaaaf6dcbf in KIO::PreviewJob::slotThumbData ()
from /opt/kde3/lib64/libkio.so.4
#15 0x00002aaaaaf6f732 in KIO::PreviewJob::qt_invoke ()
from /opt/kde3/lib64/libkio.so.4
#16 0x00002aaaac6793f9 in QObject::activate_signal ()
from /usr/lib/qt3/lib64/libqt-mt.so.3
#17 0x00002aaaaaecda88 in KIO::TransferJob::data ()
from /opt/kde3/lib64/libkio.so.4
#18 0x00002aaaaaecdcfe in KIO::TransferJob::slotData ()
from /opt/kde3/lib64/libkio.so.4
#19 0x00002aaaaaef988d in KIO::TransferJob::qt_invoke ()
from /opt/kde3/lib64/libkio.so.4
#20 0x00002aaaac6793f9 in QObject::activate_signal ()
from /usr/lib/qt3/lib64/libqt-mt.so.3
#21 0x00002aaaaaece0c2 in KIO::SlaveInterface::data ()
from /opt/kde3/lib64/libkio.so.4
#22 0x00002aaaaaee2d62 in KIO::SlaveInterface::dispatch ()
from /opt/kde3/lib64/libkio.so.4
#23 0x00002aaaaaed2a7b in KIO::SlaveInterface::dispatch ()
from /opt/kde3/lib64/libkio.so.4
#24 0x00002aaaaaec32ba in KIO::Slave::gotInput ()
from /opt/kde3/lib64/libkio.so.4
#25 0x00002aaaaaee5968 in KIO::Slave::qt_invoke ()
from /opt/kde3/lib64/libkio.so.4
#26 0x00002aaaac6793f9 in QObject::activate_signal ()
from /usr/lib/qt3/lib64/libqt-mt.so.3
#27 0x00002aaaac679963 in QObject::activate_signal ()
from /usr/lib/qt3/lib64/libqt-mt.so.3
#28 0x00002aaaac955aa5 in QSocketNotifier::activated ()
from /usr/lib/qt3/lib64/libqt-mt.so.3
#29 0x00002aaaac6943db in QSocketNotifier::event ()
from /usr/lib/qt3/lib64/libqt-mt.so.3
#30 0x00002aaaac620ded in QApplication::internalNotify ()
from /usr/lib/qt3/lib64/libqt-mt.so.3
#31 0x00002aaaac6228ae in QApplication::notify ()
from /usr/lib/qt3/lib64/libqt-mt.so.3
#32 0x00002aaaaba8b36c in KApplication::notify ()
from /opt/kde3/lib64/libkdecore.so.4
#33 0x00002aaaac6166bd in QEventLoop::activateSocketNotifiers ()
from /usr/lib/qt3/lib64/libqt-mt.so.3
#34 0x00002aaaac5d8d75 in QEventLoop::processEvents ()
from /usr/lib/qt3/lib64/libqt-mt.so.3
#35 0x00002aaaac636641 in QEventLoop::enterLoop ()
from /usr/lib/qt3/lib64/libqt-mt.so.3
#36 0x00002aaaac6364b2 in QEventLoop::exec ()
from /usr/lib/qt3/lib64/libqt-mt.so.3
#37 0x00002aaaac6227c5 in QApplication::exec ()
from /usr/lib/qt3/lib64/libqt-mt.so.3
#38 0x00002aaaaedcecfa in kdemain ()
from /opt/kde3/lib64/libkdeinit_konqueror.so
#39 0x00002aaaaebea8e9 in kdeinitmain () from /opt/kde3/lib64/kde3/konqueror.so
#40 0x0000000000407aa9 in ?? ()
#41 0x0000000000408202 in ?? ()
#42 0x00000000004086fa in ?? ()
#43 0x0000000000408ea1 in ?? ()
#44 0x00002aaaae58154a in __libc_start_main () from /lib64/tls/libc.so.6
OK, that's all I can figure out right now. If someone can help me I'd really, really appreciate it. If some important info is missing, I'll try to post it. I just don't know what to do.
Thanks in advance. And specially thank you so much if you bothered to read all this...
Best regards.