compiling php5 with gd-support

From: Date: Mon, 09 Feb 2004 01:42:17 +0000
Subject: compiling php5 with gd-support
Groups: php.general 
Request: Send a blank email to php-general+get-177177@lists.php.net to get a copy of this message
Hi php-general, I have continusously following error compiling php5 with gd-support: ext/gd/gd.lo: In function `zm_deactivate_gd': /usr/local/src/php-5.0.0b3/ext/gd/gd.c:445: undefined reference to `gdFreeFontCache' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Fehler 1 Here is my config.nice: './configure' \ '--disable-libxml' \ '--with-apxs2=/usr/local/apache2/bin/apxs' \ '--with-config-file-path=/usr/local/etc' \ '--enable-magic-quotes' \ '--with-bcmath' \ '--enable-exif' \ '--enable-shared=max' \ '--enable-rule=SHARED_CORE' \ '--with-mysql=/usr/local/mysql' \ '--with-gd=/usr/local/include' \ '--enable-gd-native-ttf' \ '--with-jpeg-dir=/usr/lib' \ '--with-png-dir=/usr/lib' \ '--with-zlib-dir=/usr/include' \ without gd, I can compile, and it works. What I am also wondering is how I can disable freetype? I tried --without-freetype or --disable-freetype but that doesn't help. I have no freetype installed. Other thing, is that I have set --with-gd=/usr/local/include, but I had to put symbolic links to /usr/local/lib where the libgd.so and libgd.a are (from install). There is no way to enter both directories... And at last, why is the error related to /usr/local/src/php-5.0.0b3/ext/gd/gd.c:445? I entered /usr/local/include for gd and not the ext/gd/ directory? I just newly installed gd, newest release. I have Mandrake Linux 8.2. I would really appreciate help ;-) SvT -- Who is the ennemy?

« previous php.general (#177177) next »