LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   firefox and .png images. (https://www.linuxquestions.org/questions/slackware-14/firefox-and-png-images-388222/)

slackbat 12-01-2005 05:05 AM

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

maginotjr 12-01-2005 05:17 AM

can you give a link so we can see what kind of error is happening?

bathory 12-01-2005 05:26 AM

Code:

ldd firefox-bin |grep png
libpng12.so.0 => /usr/local/lib/libpng12.so.0 (0xb734c000)

Perhaps the libpng that comes with Slack is buggy. You can try to install it from source to see if that's the reason.

slackbat 12-01-2005 06:23 AM

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

;)

maginotjr 12-01-2005 06:34 AM

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

bathory 12-01-2005 06:47 AM

Quote:

Bathory: I tried your code. But there is no reply - there is nothing. But firefox-bin is where it should
What you mean nothing. This is the ldd output for the latest firefox 1.5. Do you have libpng installed? What is your firefox version?
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.

slackbat 12-01-2005 09:58 AM

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.

bathory 12-02-2005 01:47 AM

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

maginotjr 12-02-2005 03:34 AM

have you installed firefox again????

slackbat 12-02-2005 09:22 AM

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.