Click to See Complete Forum and Search --> : Cannot install GD: undefined symbol:


Anon
12-17-2001, 02:53 PM
Hi

I get the following error when I try and start the httpd server after installing php4.1 with gd2. I am using exactly the same configuration I had for php4.06.

undefined symbol: gdImageColorClosestAlpha

The configuration I used was:

./configure \
--with-mysql=/usr/local/mysql \
--with-apxs=/usr/local/apache/bin/apxs \
--with-expat-dir=/usr/local \
--enable-xslt \
--with-xslt-sablot \
--with-config-filepath=/path/to \
--enable-openssl=/usr/local/ssl \
--enable-sockets \
--enable-trans-sid \
--with-pspell \
--with-zlib \
--with-gd=/usr/local/gd-2.0.1 \
--with-freetype-dir=/usr \
--enable-gd-native-ttf \
--enable-gd-imgstrttf \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-xpm-dir=/usr/X11R6

This configuration and installation of GD used to work fine with the older version of php. Does anyone have any ideas about how to fix this?

Many thanks,

Hans.

Anon
12-17-2001, 03:29 PM
I forgot to mention that in the above configuration I have added "--with-pspell". I have now tried removing this line and the configuration, make and install works as normal.

This begs the question: why should including the pspell module cause the above error? Why does it affect GD?

Anon
12-17-2001, 03:45 PM
So now I have managed to configure and install php with pspell without the gd stuff and it works fine.

Does this mean that it is not possible to install the gd libraries with pspell? Surely not. Anyone have any ideas?