LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-01-2005, 05:05 AM   #1
slackbat
Member
 
Registered: Dec 2005
Location: uk Lampeter
Distribution: Slackware 14_64_multilib - Manjaro and Debian/Siduction
Posts: 59

Rep: Reputation: 17
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???
 
Old 12-01-2005, 05:17 AM   #2
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 34
can you give a link so we can see what kind of error is happening?
 
Old 12-01-2005, 05:26 AM   #3
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,938

Rep: Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330
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.
 
Old 12-01-2005, 06:23 AM   #4
slackbat
Member
 
Registered: Dec 2005
Location: uk Lampeter
Distribution: Slackware 14_64_multilib - Manjaro and Debian/Siduction
Posts: 59

Original Poster
Rep: Reputation: 17
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

 
Old 12-01-2005, 06:34 AM   #5
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 34
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
 
Old 12-01-2005, 06:47 AM   #6
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,938

Rep: Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330
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.
 
Old 12-01-2005, 09:58 AM   #7
slackbat
Member
 
Registered: Dec 2005
Location: uk Lampeter
Distribution: Slackware 14_64_multilib - Manjaro and Debian/Siduction
Posts: 59

Original Poster
Rep: Reputation: 17
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.
 
Old 12-02-2005, 01:47 AM   #8
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,938

Rep: Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330
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
 
Old 12-02-2005, 03:34 AM   #9
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 34
have you installed firefox again????
 
Old 12-02-2005, 09:22 AM   #10
slackbat
Member
 
Registered: Dec 2005
Location: uk Lampeter
Distribution: Slackware 14_64_multilib - Manjaro and Debian/Siduction
Posts: 59

Original Poster
Rep: Reputation: 17
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Webalizer: configure: error: png library not found... please install png. mikeshn Linux - Software 5 01-10-2005 02:28 PM
Cannot open .png images. Nz_Boy_2004 Linux - Software 5 12-18-2004 10:23 PM
Here are some more attractive Kweather png images devfreak Linux - Software 2 03-31-2004 09:58 PM
Where is trashcan_full/empty.png and kmenu.png??? d33pdream Linux - General 2 02-25-2003 11:13 PM
png images not served by apache ..??? gene_gEnie Linux - Software 2 05-10-2002 08:11 AM


All times are GMT -5. The time now is 01:52 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration