Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jul 2009 10:44:22 +0200
From:      mediaslut von abfab <m3diaslut@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   PHP gd issues
Message-ID:  <98de397f0907230144o6ceb0eb0n9891228003f23e9a@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I had the same fatallibpngerror discovered yesterday.

It seems like libpng version 1.2.37 was buggy. And version 1.2.38 is
not available yet on FreeBSD Ports (although, I don't know if this bug
is fixed in this version?).
I have downgraded to version 1.2.35 and the error has gone away.

Here's just a little how-to, if anyone else needs help with downgrading:

If you haven't portdowngrade installed, install it first:
=A0cd /usr/ports/ports-mgmt/portdowngrade
=A0make install clean

After that, use portdowngrade to downgrade libpng:

 portdowngrade graphics/png$
-s:pserver:anoncvs@anoncvs.tw.FreeBSD.org:/home/ncvs


On Step 4, choose the following version (press <enter> first in order
to be able to insert the number)

=A03 =A02009/02/24 04:01:48 =A01.2.35 =A0 =A0 =A0 Upgrade to 1.2.35
=A0<Enter>
=A0Enter version number to change port to (0: exit): 3

The port will now be downgraded to version 1.2.35. Now you need to
downgrade the Software:

=A0portsdb -Uu =A0 =A0 =A0 =A0 =A0 =A0 # (that one takes very long!)
=A0portupgrade -f png

Now Reinstall everything that depends on libpng:

=A0portupgrade -fr png

After everything is reinstalled, restart Apache

=A0apachectl restart

done! :o)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?98de397f0907230144o6ceb0eb0n9891228003f23e9a>