Gentoo Archives: gentoo-dev

From: Vitaly Kushneriuk <vitaly_kushneriuk@×××××.com>
To: Gentoo-dev <gentoo-dev@g.o>
Subject: Re: [gentoo-dev] strange gcc 3.1 mod_php and libgd / libpng issue
Date: Wed, 07 Aug 2002 01:08:20
Message-Id: 1028700490.14127.2.camel@uranus.u235.eyep.net
In Reply to: [gentoo-dev] strange gcc 3.1 mod_php and libgd / libpng issue by Corvus Corax
1 On Wed, 2002-08-07 at 02:57, Corvus Corax wrote:
2 > I dont want to bother anyone but i had a problem and i dunno if its a bug / reproducable or just bad luck:
3 >
4 > with libpng-1.2.4
5 >
6 > the gdlib functions ImagecreatefromPNG(); and ImagePNG(); in a php script via apache and mod_php dont work.
7 >
8 > strange thing is, there is no error message and phpinfo reports that php wouls support pngs since png support is compiled in.
9 >
10 > the php script returns NO data, not even if there should be debug / error messages before the usage of ImageCreatefromPNG
11 >
12 > with libpng-1.0.12-r1 everything works fine
13 >
14 > i checked other versions of gdlib and mod_php, too which had the same bug
15 > always everything compiled fine and started without error messages.
16 >
17 > is this a known elder bug? or is it my gcc 3.1?
18 >
19 > maybe mod_php should have an depend <=libpng-1.0.12 somewhere in it from now on, but i dont know what causes this error, if its the gcc, it should be checked gcc dependent.
20 >
21 > can anyone try to reproduce this bug, or tell if its allready known? maybe it should be posted to the bug reports, if reproducable.
22 >
23 > Corvus V Corax
24 >
25 I had a ssimilar problem, only in my case php segfaults. See bug #5444
26 http://bugs.gentoo.org/show_bug.cgi?id=5444

Replies

Subject Author
Re: [gentoo-dev] strange gcc 3.1 mod_php and libgd / libpng issue Ryan Phillips <rphillips@g.o>