From:             [EMAIL PROTECTED]
Operating system: rh7.2
PHP version:      4.3.0-pre1
PHP Bug Type:     Compile Failure
Bug description:  main/internal_functions_cli.c:74: undefined reference to 
`gd_module_entry'

After a successful ./configure
during make I receive: 
In function `php_startup_internal_extensions':
/usr/local/php-4.3.0pre1/main/internal_functions_cli.c:74: undefined
reference to `gd_module_entry'
collect2: ld returned 1 exit status

I should note that to even get this far (right or wrong) I copied
/usr/local/gd-2.0.1/*c and *.h into the ext/gd directory.

I successfully compiled php-4.2.3 in this same matter but it dies with the
same 'gd_module_entry' error when apache tries to load it.

I'd apprecieate any suggestions that you might have. My ./configure
command is below:

./configure --with-gd=/usr/local/gd-2.0.1 --with-freetype-dir=/usr
--enable-gd-native-ttf --enable-gd-imgstrttf --with-png-dir=/usr/local/lib
--with-apxs=/usr/local/apache/bin/apxs --with-jpeg-dir=/usr
--with-png-dir=/usr --with-zlib-dir=/usr/local/lib --enable-memory-limit
--with-pear --with-zlib

-- 
Edit bug report at http://bugs.php.net/?id=20115&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20115&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20115&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20115&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20115&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20115&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20115&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20115&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20115&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20115&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20115&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20115&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20115&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20115&r=isapi

Reply via email to