Date: 04/15/01
- Next message: wez <email protected>: "[PHP-DEV] Bug #10331 Updated: configure: test gd functions lacks inclusion of -lpng, -lz"
- Previous message: Goten: "Re: [PHP-DEV] RE: PHP 4.0 Bug #10299 Updated: CPU and Memory Spike"
- Next in thread: wez <email protected>: "[PHP-DEV] Bug #10331 Updated: configure: test gd functions lacks inclusion of -lpng, -lz"
- Maybe reply: wez <email protected>: "[PHP-DEV] Bug #10331 Updated: configure: test gd functions lacks inclusion of -lpng, -lz"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 10331
Updated by: wez
Reported By: elkner <email protected>
Old-Status: Open
Status: Feedback
Bug Type: GD related
PHP Version: 4.0.4pl1
Assigned To:
Comments:
Support for GD was just added to the latest CVS.
Try a snapshot from snaps.php.net or checkout the latest CVS and configure with:
./configure
"--with-jpeg-dir" \
"--with-png-dir" \
"--with-freetype-dir" \
"--with-gd"
Beware - this will implicitly --enable-gd-native-ttf.
Please let me know how you get on.
--Wez.
Previous Comments:
---------------------------------------------------------------------------
[2001-04-15 02:07:18] elkner <email protected>
I'm using shared libgd.so.2.0.0 which supports jpeg, xpm, png and libz. Unfortunately php configure does NOT include
libpng and libz in its test, so it gets wrong results.
E.g.:
configure:15759: checking whether to include GD support
configure:16388: checking for gdImageString16 in -lgd
configure:16407: gcc -o conftest -g -O2 -DLINUX=2 -DMOD_SSL=206105 -DEAPI -DUSE
_EXPAT -DSHARED_CORE -Wl,-rpath,/opt/ssl/lib -L/opt/ssl/lib -Wl,-rpath,/usr/X11
R6/lib -L/usr/X11R6/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/
lib conftest.c -lgd -lgd -lX11 -lXpm -ljpeg -lcrypto -lssl -lresolv -lm -ldl -l
crypt -lnsl -lresolv -L/usr/lib -ljpeg -L/usr/X11R6/lib -lXpm -L/usr/X11R6/lib
-lX11 1>&5
/usr/local/lib/libgd.so: undefined reference to `uncompress'
/usr/local/lib/libgd.so: undefined reference to `png_get_rowbytes'
/usr/local/lib/libgd.so: undefined reference to `png_set_strip_16'
/usr/local/lib/libgd.so: undefined reference to `png_create_read_struct'
...
collect2: ld returned 1 exit status
configure: failed program was:
...
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10331&edit=2
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: wez <email protected>: "[PHP-DEV] Bug #10331 Updated: configure: test gd functions lacks inclusion of -lpng, -lz"
- Previous message: Goten: "Re: [PHP-DEV] RE: PHP 4.0 Bug #10299 Updated: CPU and Memory Spike"
- Next in thread: wez <email protected>: "[PHP-DEV] Bug #10331 Updated: configure: test gd functions lacks inclusion of -lpng, -lz"
- Maybe reply: wez <email protected>: "[PHP-DEV] Bug #10331 Updated: configure: test gd functions lacks inclusion of -lpng, -lz"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

