Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Snort-Users
[Top] [All Lists]

[Snort-users] Problem compiling PHP 4.3.9 with support for GD-2.0.28

Subject: [Snort-users] Problem compiling PHP 4.3.9 with support for GD-2.0.28
Date: Fri, 22 Oct 2004 12:52:01 -0500

Hi all,
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
php-4.3.9
GD-2.0.28

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@tunes 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.
7

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@tunes 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
`gdImageColorResolve'
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
`gdImageBoundsSafe'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
-----end------
Attached is the php complile output.

Any help is greatly appreciated,
Thanks

Andy

Attachment: phpcompile.txt
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>
  • [Snort-users] Problem compiling PHP 4.3.9 with support for GD-2.0.28, Andy Thiel <=