firefox and .png images.
Hi
Has anyone else noticed that firefox in slack has difficulty showing certain .png images. I have been developing a website the uses css and php. Everything works fine except showing a certain png image. This does not happen in any other browser, or on any other platform/OS. I reported it as a bug to bugzilla, but its not worth continuing as its to do with slackware. Any clues??? |
can you give a link so we can see what kind of error is happening?
|
Code:
ldd firefox-bin |grep png |
Hi
Bathory: I tried your code. But there is no reply - there is nothing. But firefox-bin is where it should be. maginotjr: Here are a couple of links: http://webplus.aenigma.abelgratis.co.uk/ http://webplus.aenigma.abelgratis.co.uk/banner.png The second shows the image. The funny thing is that when the image is shown on its own in firefox it shows. You would think that it is buggy code. But if this was the case why does it show ok in firefox in other OS's, or indeed in any other browser. I have also upgraded firefox to the new 1.5 version. Same result though. I will try installing libpng from source. Cheers ;) |
you need libpng ...
I recommend you to download and install firefox again or install libpng and see if works, but maybe you will need to install firefox even if you install libpng... make a search for libpng to see if it exist on your box before downloading it locate libpng*.so |
Quote:
BTW the image in the link you posted looks OK with my firefox 1.5 Note that I have compiled libpng from source and installed it in /usr/local/lib for other reason and firefox seems to use it. If you want you can remove the libpng that comes with Slack and install from source with "./configure --prefix=/usr" to not break your system. Don't forget to run "ldconfig" after. |
Hi there
I have installed libpng from source. I have ldconfig'd. Still no image. Concerning firefox-bin, this is in /usr/lib/firefox. Which is where I place firefox following slackware convention. libpng.so is installed in /usr/local/lib/libpng.so, as are other libpng's - found using 'whereis libpng'. I am using slackware 10.2. All the best. |
Is /usr/local/lib in /etc/ld.so.conf? If not add it and then run ldconfig.
What is the output of: Code:
ldd /usr/lib/firefox/firefox-bin |grep png |
have you installed firefox again????
|
Hi again,
in reply: maginotjr: Yes, I reinstalled firefox. I also compiled the zlib from source. bathory: /usr/local/lib was in the ld.so.conf - at the top! As for "ldd /usr/lib/firefox/firefox-bin |grep png". There is no output - no reply - nothing. But not to worry. I decided to load zenwalk-linux over slackware, and the problem is sorted. Thanks for your help and possibly concern. All the best. |
All times are GMT -5. The time now is 03:54 PM. |