[expert] libpng not working in Mozilla/Galeon

2001-11-12 Thread Dave Sherman

Hello everyone,

Hoping someone can shed some light on this problem. I recently upgraded
(from Cooker) to Mozilla 0.9.5, and the latest Galeon as well. Along the
way, I als ohad to upgrade libpng from version 2 to 3.

Everything seemed to go well, I was able to meet all dependencies with a
minimum of hassle, and libpng upgraded just fine.

BUT ... now, neither Mozilla not Galeon are able to renger .png images!
If I look in /usr/lib/, I can see both libpng2 and libpng3:
libpng.so.2 -> libpng.so.2.1.0.12*
libpng.so.2.1.0.12*
libpng.so.3 -> libpng.so.3.1.2.0*
libpng.so.3.1.2.0*

I assume this is correct, because there are still many apps on my
mostly-stock 8.1 system that require libpng2.

I renamed the old libpng2 libraries, and made links with the same name
to libpng3, but that did not seem to work. In fact, Galeon would not
even launch! So, I named the libpng2 libraries back. At this point, I am
at a loss, not knowing enough about how shared libraries work, and
especially using different library versions.

Any help?

Dave
-- 
Life is a series of rude awakenings.
-- R.V. Winkle



msg44187/pgp0.pgp
Description: PGP signature


Re: [expert] libpng not working in Mozilla/Galeon

2001-11-12 Thread John Haywood

On Tue, 13 Nov 2001 02:50, you wrote:
> Hello everyone,
>
> Hoping someone can shed some light on this problem. I recently upgraded
> (from Cooker) to Mozilla 0.9.5, and the latest Galeon as well. Along the
> way, I als ohad to upgrade libpng from version 2 to 3.
>
> Everything seemed to go well, I was able to meet all dependencies with a
> minimum of hassle, and libpng upgraded just fine.
>
> BUT ... now, neither Mozilla not Galeon are able to renger .png images!
> If I look in /usr/lib/, I can see both libpng2 and libpng3:
>   libpng.so.2 -> libpng.so.2.1.0.12*
>   libpng.so.2.1.0.12*
>   libpng.so.3 -> libpng.so.3.1.2.0*
>   libpng.so.3.1.2.0*
>
> I assume this is correct, because there are still many apps on my
> mostly-stock 8.1 system that require libpng2.
>
> I renamed the old libpng2 libraries, and made links with the same name
> to libpng3, but that did not seem to work. In fact, Galeon would not
> even launch! So, I named the libpng2 libraries back. At this point, I am
> at a loss, not knowing enough about how shared libraries work, and
> especially using different library versions.
>
> Any help?
>
> Dave

Welcome to the world of Cooker! What you actually have to do in the case of 
the libpng2 -> libpng3 shift (and many other major library upgrades, too), is 
to rebuild *all* of the libpng2-dependent apps against the new libraries.

Often, this can be accomplished by simply downloading the src.rpm and issuing 
an rpm -bb command, but it can get a lot trickier

hth
-- 
john in syd



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] libpng not working in Mozilla/Galeon

2001-11-12 Thread William Kenworthy

Doing a forced rpm install of cooker nautilus* got some of my icons
back, but there are still problems.  What application (or module) is
actually responsible for drawing png's on the desktop so I can target
that?

BillK

On Tue, 2001-11-13 at 07:51, John Haywood wrote:
> On Tue, 13 Nov 2001 02:50, you wrote:
> > Hello everyone,
> >
> > Hoping someone can shed some light on this problem. I recently upgraded
> > (from Cooker) to Mozilla 0.9.5, and the latest Galeon as well. Along the
> > way, I als ohad to upgrade libpng from version 2 to 3.
> >
> > Everything seemed to go well, I was able to meet all dependencies with a
> > minimum of hassle, and libpng upgraded just fine.
> >
> > BUT ... now, neither Mozilla not Galeon are able to renger .png images!
> > If I look in /usr/lib/, I can see both libpng2 and libpng3:
> > libpng.so.2 -> libpng.so.2.1.0.12*
> > libpng.so.2.1.0.12*
> > libpng.so.3 -> libpng.so.3.1.2.0*
> > libpng.so.3.1.2.0*
> >
> > I assume this is correct, because there are still many apps on my
> > mostly-stock 8.1 system that require libpng2.
> >
> > I renamed the old libpng2 libraries, and made links with the same name
> > to libpng3, but that did not seem to work. In fact, Galeon would not
> > even launch! So, I named the libpng2 libraries back. At this point, I am
> > at a loss, not knowing enough about how shared libraries work, and
> > especially using different library versions.
> >
> > Any help?
> >
> > Dave
> 
> Welcome to the world of Cooker! What you actually have to do in the case of 
> the libpng2 -> libpng3 shift (and many other major library upgrades, too), is 
> to rebuild *all* of the libpng2-dependent apps against the new libraries.
> 
> Often, this can be accomplished by simply downloading the src.rpm and issuing 
> an rpm -bb command, but it can get a lot trickier
> 
> hth
> -- 
> john in syd
> 
> 
> 

> This message has been 'sanitized'.  This means that potentially
> dangerous content has been rewritten or removed.  The following
> log describes which actions were taken.
> 
> Sanitizer (start="1005609371"):
>   Part (pos="2771"):
> SanitizeFile (filename="unnamed.txt", mimetype="text/plain"):
>   Match (rule="2"):
> Enforced policy: accept
> 
>   Part (pos="4405"):
> SanitizeFile (filename="message.footer", mimetype="text/plain"):
>   Match (rule="default"):
> Enforced policy: defang
> 
>   Replaced mime type with: application/DEFANGED-103180
>   Replaced file name with: message_footer.DEFANGED-103180
> 
>   Total modifications so far: 1
> 
> 
> Anomy 0.0.0 : Sanitizer.pm
> $Id: Sanitizer.pm,v 1.32 2001/10/11 19:27:15 bre Exp $





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] libpng not working in Mozilla/Galeon

2001-11-12 Thread Dave Sherman

On Mon, 2001-11-12 at 17:51, John Haywood wrote:
> On Tue, 13 Nov 2001 02:50, you wrote:
> > Hello everyone,
> >
> > Hoping someone can shed some light on this problem. I recently upgraded
> > (from Cooker) to Mozilla 0.9.5, and the latest Galeon as well. Along the
> > way, I als ohad to upgrade libpng from version 2 to 3.
> >
> > Everything seemed to go well, I was able to meet all dependencies with a
> > minimum of hassle, and libpng upgraded just fine.
> >
> > BUT ... now, neither Mozilla not Galeon are able to renger .png images!
> > If I look in /usr/lib/, I can see both libpng2 and libpng3:
> > libpng.so.2 -> libpng.so.2.1.0.12*
> > libpng.so.2.1.0.12*
> > libpng.so.3 -> libpng.so.3.1.2.0*
> > libpng.so.3.1.2.0*
> >
> > I assume this is correct, because there are still many apps on my
> > mostly-stock 8.1 system that require libpng2.
> >
> > I renamed the old libpng2 libraries, and made links with the same name
> > to libpng3, but that did not seem to work. In fact, Galeon would not
> > even launch! So, I named the libpng2 libraries back. At this point, I am
> > at a loss, not knowing enough about how shared libraries work, and
> > especially using different library versions.
> >
> > Any help?
> >
> > Dave
> 
> Welcome to the world of Cooker! What you actually have to do in the case of 
> the libpng2 -> libpng3 shift (and many other major library upgrades, too), is 
> to rebuild *all* of the libpng2-dependent apps against the new libraries.
> 
> Often, this can be accomplished by simply downloading the src.rpm and issuing 
> an rpm -bb command, but it can get a lot trickier

Call me crazy (or more likely, ignorant), but what you are saying makes
no sense to me. Mozilla 0.9.5 and Galeon (both from Cooker) required the
libpng3 (from Cooker) in the first place! They shouldn't need to be
recompiled. And I have had no problems with other apps using the older
library, since both libraries currently exist on my system.

What I am thinking is that somehow Mozilla/Galeon are loading the wrong
version of libpng, and thus are not able to properly render .png images.
Is there any way I can confirm if this is the case, or is there
something I am missing?

Dave
-- 
Chemist who falls in acid is absorbed in work.



msg44244/pgp0.pgp
Description: PGP signature


Re: [expert] libpng not working in Mozilla/Galeon

2001-11-13 Thread John Haywood

On Tue, 13 Nov 2001 15:02, you wrote:
> What I am thinking is that somehow Mozilla/Galeon are loading the wrong
> version of libpng, and thus are not able to properly render .png images.
> Is there any way I can confirm if this is the case, or is there
> something I am missing?

Although I haven't totally worked this one through, yet (living w/o icons on 
some apps!!), it looks as though it's the *system* which is referring to the 
old libpng, rather than the apps

Not sure of the fix, though...
-- 
john in syd



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] libpng not working in Mozilla/Galeon

2001-11-13 Thread Dave Sherman

On Tue, 2001-11-13 at 16:35, John Haywood wrote:
> On Tue, 13 Nov 2001 15:02, you wrote:
> > What I am thinking is that somehow Mozilla/Galeon are loading the wrong
> > version of libpng, and thus are not able to properly render .png images.
> > Is there any way I can confirm if this is the case, or is there
> > something I am missing?
> 
> Although I haven't totally worked this one through, yet (living w/o icons on 
> some apps!!), it looks as though it's the *system* which is referring to the 
> old libpng, rather than the apps
> 
> Not sure of the fix, though...

You may very well be right. If X Windows is pre-loading the shared
library, and only loads libpng2 but not version 3, then this could be
the issue.

Hrrmmm... wish I knew how to test this theory. Isn't there a way to use
multiple versions of the same library? I am sure I read about that once!

Dave
-- 
I enjoy the time that we spend together.



msg44307/pgp0.pgp
Description: PGP signature


Re: [expert] libpng not working in Mozilla/Galeon

2001-11-26 Thread Paul Cox

On Monday, Nov 12, 2001, Dave Sherman wrote:

> Call me crazy (or more likely, ignorant), but what you are saying makes
> no sense to me. Mozilla 0.9.5 and Galeon (both from Cooker) required the
> libpng3 (from Cooker) in the first place! They shouldn't need to be
> recompiled. And I have had no problems with other apps using the older
> library, since both libraries currently exist on my system.
> 
> What I am thinking is that somehow Mozilla/Galeon are loading the wrong
> version of libpng, and thus are not able to properly render .png images.
> Is there any way I can confirm if this is the case, or is there
> something I am missing?

What you should have done was download the Mozilla .src.rpm, and rebuild
it.  If you had libpng2-devel installed (you might have to install some
other -devel .rpm's), it would then require libpng2, not libpng3.  Right
now the one from Cooker requires libpng3 because that's what it was
built against.  As you found out, forcing an update from libpng2 to
libpng3 is a bad idea...

Generally it is best to rebuild anything from Cooker if you want to try
it out (unless you're running a scrictly Cooker system to begin with).

(I know this was an old message but better late than never.)

-- 
Paul Cox 
Kernel: 2.4.8-34.1mdk  -  Uptime: 21 hours 46 minutes.



msg44974/pgp0.pgp
Description: PGP signature


Re: [expert] libpng not working in Mozilla/Galeon

2001-11-26 Thread skidley

On Mon, 26 Nov 2001, Paul Cox wrote:

> On Monday, Nov 12, 2001, Dave Sherman wrote:
>
> > Call me crazy (or more likely, ignorant), but what you are saying makes
> > no sense to me. Mozilla 0.9.5 and Galeon (both from Cooker) required the
> > libpng3 (from Cooker) in the first place! They shouldn't need to be
> > recompiled. And I have had no problems with other apps using the older
> > library, since both libraries currently exist on my system.
> >
> > What I am thinking is that somehow Mozilla/Galeon are loading the wrong
> > version of libpng, and thus are not able to properly render .png images.
> > Is there any way I can confirm if this is the case, or is there
> > something I am missing?
>
> What you should have done was download the Mozilla .src.rpm, and rebuild
> it.  If you had libpng2-devel installed (you might have to install some
> other -devel .rpm's), it would then require libpng2, not libpng3.  Right
> now the one from Cooker requires libpng3 because that's what it was
> built against.  As you found out, forcing an update from libpng2 to
> libpng3 is a bad idea...
>
> Generally it is best to rebuild anything from Cooker if you want to try
> it out (unless you're running a scrictly Cooker system to begin with).
>
> (I know this was an old message but better late than never.)
>
>
I have both libpng2 and libpng3 installed here, there is no need to force
an update they are 2 different libraries.
-- 
Chad Young
Registered Linux User #195191 @ http://counter.li.org




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] libpng not working in Mozilla/Galeon

2001-11-26 Thread Tom Brinkman

On Monday 26 November 2001 09:24 pm, skidley wrote:

> I have both libpng2 and libpng3 installed here, there is no need to
> force an update they are 2 different libraries.

  Search 'libpng' on http://marc.theaimsgroup.com/?l=mandrake-cooker 
and I believe you might come around to thinkin this is sor'ta kind'a 
a naive notion ... you just haven't found out what you broke yet ;)

-- 
  Tom Brinkman             Galveston Bay, USA




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] libpng not working in Mozilla/Galeon

2001-11-26 Thread mike

On Monday 26 November 2001 20:43, Tom Brinkman wrote:
> On Monday 26 November 2001 09:24 pm, skidley wrote:
> > I have both libpng2 and libpng3 installed here, there is no need to
> > force an update they are 2 different libraries.
>
>   Search 'libpng' on http://marc.theaimsgroup.com/?l=mandrake-cooker
> and I believe you might come around to thinkin this is sor'ta kind'a
> a naive notion ... you just haven't found out what you broke yet ;)


Content-Type: text/plain; charset="iso-8859-1"; name="message.footer"
Content-Transfer-Encoding: 8bit
Content-Description: 


I hope this is not true, distinct versions of a library coexisting together 
is what makes Linux a more stable operating system, and avoids dll-hell.
The application should call for libpng.so.3 or some such.

mg



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] libpng not working in Mozilla/Galeon

2001-11-27 Thread Dave Sherman

On Mon, 2001-11-26 at 22:20, mike wrote:
> On Monday 26 November 2001 20:43, Tom Brinkman wrote:
> > On Monday 26 November 2001 09:24 pm, skidley wrote:
> > > I have both libpng2 and libpng3 installed here, there is no need to
> > > force an update they are 2 different libraries.
> >
> >   Search 'libpng' on http://marc.theaimsgroup.com/?l=mandrake-cooker
> > and I believe you might come around to thinkin this is sor'ta kind'a
> > a naive notion ... you just haven't found out what you broke yet ;)
> 
> 
> Content-Type: text/plain; charset="iso-8859-1"; name="message.footer"
> Content-Transfer-Encoding: 8bit
> Content-Description: 
> 
> 
> I hope this is not true, distinct versions of a library coexisting together 
> is what makes Linux a more stable operating system, and avoids dll-hell.
> The application should call for libpng.so.3 or some such.
> 
> mg

In theory, I agree with you, however in this particular case it seems
that the theory does not pan out. Since I originally started this
thread, I will tell you the solution someone else gave me:

1. Get the Mozilla RPM for RedHat 7.x and install/upgrade it.
2. I got a conflict with some library which I don't remember, but I
forced the install anyway with --force.
3. Get the Galeon RPM for RedHat 7.x and install/upgrade it.
4. Enjoy! These versions were compiled for libpng2, and so they work
fine.

Dave
-- 
I wonder if I should put myself in ESCROW!!



msg45058/pgp0.pgp
Description: PGP signature


Re: [expert] libpng not working in Mozilla/Galeon

2001-11-27 Thread Mark D'voo

why not just get the source for both and rebuild them yourself, you can even 
use checkinstall to add them to your rpm database
mark

On Tuesday 27 November 2001 19:41, you wrote:
> On Mon, 2001-11-26 at 22:20, mike wrote:
> > On Monday 26 November 2001 20:43, Tom Brinkman wrote:
> > > On Monday 26 November 2001 09:24 pm, skidley wrote:
> > > > I have both libpng2 and libpng3 installed here, there is no need to
> > > > force an update they are 2 different libraries.
> > >
> > >   Search 'libpng' on http://marc.theaimsgroup.com/?l=mandrake-cooker
> > > and I believe you might come around to thinkin this is sor'ta kind'a
> > > a naive notion ... you just haven't found out what you broke yet ;)
> >
> > 
> > Content-Type: text/plain; charset="iso-8859-1"; name="message.footer"
> > Content-Transfer-Encoding: 8bit
> > Content-Description:
> > 
> >
> > I hope this is not true, distinct versions of a library coexisting
> > together is what makes Linux a more stable operating system, and avoids
> > dll-hell. The application should call for libpng.so.3 or some such.
> >
> > mg
>
> In theory, I agree with you, however in this particular case it seems
> that the theory does not pan out. Since I originally started this
> thread, I will tell you the solution someone else gave me:
>
> 1. Get the Mozilla RPM for RedHat 7.x and install/upgrade it.
> 2. I got a conflict with some library which I don't remember, but I
> forced the install anyway with --force.
> 3. Get the Galeon RPM for RedHat 7.x and install/upgrade it.
> 4. Enjoy! These versions were compiled for libpng2, and so they work
> fine.
>
> Dave

-- 
  1:46pm  up 10:41,  4 users,  load average: 2.76, 1.59, 0.81



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] libpng not working in Mozilla/Galeon

2001-11-27 Thread Dave Sherman

On Tue, 2001-11-27 at 01:46, Mark D'voo wrote:
> why not just get the source for both and rebuild them yourself, you can even 
> use checkinstall to add them to your rpm database
> mark

That's another viable option. In my case, I actually was going to try
that route, but I didn't know where to look in Cooker for source RPMs. I
was just browsing a Cooker mirror in Galeon, and all I saw were
binaries. So, rather than spending a bunch of time trying to find the
SRPMs, I got the RedHat binaries.

Dave

> On Tuesday 27 November 2001 19:41, you wrote:
> > In theory, I agree with you, however in this particular case it seems
> > that the theory does not pan out. Since I originally started this
> > thread, I will tell you the solution someone else gave me:
> >
> > 1. Get the Mozilla RPM for RedHat 7.x and install/upgrade it.
> > 2. I got a conflict with some library which I don't remember, but I
> > forced the install anyway with --force.
> > 3. Get the Galeon RPM for RedHat 7.x and install/upgrade it.
> > 4. Enjoy! These versions were compiled for libpng2, and so they work
> > fine.
> >
> > Dave
> 
> -- 
>   1:46pm  up 10:41,  4 users,  load average: 2.76, 1.59, 0.81
> 
> 
> 

> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com
-- 
When I was little, I went into a pet shop and they asked how big I'd
get.
-- Rodney Dangerfield



msg45063/pgp0.pgp
Description: PGP signature