ID:               21856
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: Solaris 7
 PHP Version:      4.3.0
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Try the unstable snap, it comes with bundled gd 2.0.11


Previous Comments:
------------------------------------------------------------------------

[2003-01-23 21:52:30] [EMAIL PROTECTED]

I want to build php 4.3.0 with pgsql and gd2 support using the php
version of gd2. Configure seems to work w/o any trouble. I don't get
any errors, but when I get to the link stage, make fails.

The error is:
Undefined                       first referenced
 symbol                             in file
gdImageJpegCtx                      ext/gd/gd.lo
gdImageCreateFromJpeg               ext/gd/gd.lo
gdImageCreateFromJpegCtx            ext/gd/gd.lo
ld: fatal: Symbol referencing errors. No output written to
sapi/cli/php
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

I used this configure command:

./configure --with-apxs=/usr/local/apache/bin/apxs --disable-short-tags
\
--with-gd --with-freetype-dir=/usr/local --enable-gd-native-ttf \
--enable-gd-imgstrttf --with-jpeg-dir=/usr/local --with-zlib \
--with-png-dir=/usr/local

When I search for the missing symbols, I find them in gd.h,
but it looks like those are the ones the linker is complaining about. I
downloaded gd 2.0.10 to see if I could
find the missing symbols and they appear as prototype defs in
gd.h. There is no gd.h in my distribution. Should there be?
As a last resort, I just downloaded the 4.3.0.tar.gz distro
again this evening, wiped out the old area and started fresh.
It hasn't made a difference. I also tried all of the posts in the
support section, but none of those pointers made any 
difference. I have a number of other configs that also did not work, if
you need those.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=21856&edit=1

Reply via email to