[Snort-users] Problems compiling PHP 4.3.9 with GD-2.0.28
andy at ...12349...
Fri Oct 22 13:37:01 EDT 2004
I've posted this in php forums, but nobody can (or will) help. Since most of
you have probably setup acid, I'm hopeing you can help.
I'm running redhat 7.3
I'm attemping to re-compile PHP with the GD library but am stuck. I've
compiled GD-2.0.28 and it seemed to go ok.
GD shows YES for support for all types of image formats.
GD is installed in: /usr/local/src/GD-2.0.28
PHP is installed in: /usr/local/src/php-4.3.9
zlib, jpeg-6b, and libpng are also installed
under /usr/local/src respectively.
This is the command I'm using to compile PHP:
[root at ...12350... php-4.3.9]#
./configure --with-apache=../apache_1.3.31 --with-mysql --with-gd --with-zli
b-dir=../zlib-1.2.1 --with-jpeg-dir=../jpeg-6b --with-png-dir=../libpng-1.2.
While the php compile finishes and looks ok, the problem comes up when I run
MAKE. The problem looks to do with something called gdImageColorResolve':
Any idea of what this is?
below is the end of the MAKE:
[root at ...12350... php-4.3.9]# make > phpmake.txt
ext/gd/libgd/gd.o: In function `gdImageColorResolve':
/usr/local/src/php-4.3.9/ext/gd/libgd/gd.c:497: multiple definition of
ext/gd/gd.o:/usr/local/src/php-4.3.9/ext/gd/gd.c:551: first defined here
/usr/bin/ld: Warning: size of symbol `gdImageColorResolve' changed from 222
to 27 in ext/gd/libgd/gd.o
ext/mysql/libmysql/my_tempnam.o: In function `my_tempnam':
/usr/local/src/php-4.3.9/ext/mysql/libmysql/my_tempnam.c:115: the use of
`tempnam' is dangerous, better use `mkstemp'
ext/gd/gd.o: In function `zif_imagecolorat':
/usr/local/src/php-4.3.9/ext/gd/gd.c:1887: undefined reference to
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Attached is the php complile output.
Any help is greatly appreciated,
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Snort-users