Re: undefined symbol: gdImageCreateFromGif
| From: | Ashley M. Kirchner | Date: | Fri, 18 Aug 2000 23:45:51 +0000 |
| Subject: | Re: undefined symbol: gdImageCreateFromGif | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-12548@lists.php.net to get a copy of this message | ||
ferret wrote:
> Cannot load /etc/httpd/modules/libphp4.so into server:
> /etc/httpd/modules/libphp4.so: undefined symbol: gdImageCreateFromGif
> [FAILED]
> when I start apache - it was fine before - can anyone help
>
> PHP4.0 was fine running as a DSO and all I did was restart httpd after
> making an unrelated edit in httpd.conf.
>
> I've got scripts on the web that won't run now!
I'm guessing you installed gd-1.8.x which no longer supports GIF
images. I just ran through the same problem till I figured out that GD no
longer makes a shared library, only static. So, you need to remove the
(old) shared libraries from your system, otherwise PHP's configure script
WILL use them, and when you get to actually use GD, it'll complain that it
can't create GIF files (that error you got).
Read up on GD's install and configure script, and when you run PHP's
configure script, make absolutely sure that it figures out that it can NOT
use the gdImageCreateFromGif() routine (it will say while it's configuring).
AMK4
--
W |
| I haven't lost my mind; it's backed up on tape somewhere.
|____________________________________________________________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ashley M. Kirchner <mailto:ashley@pcraft.com> .
303.442.6410 x130
SysAdmin / Websmith . 800.441.3873 x130
Photo Craft Laboratories, Inc. . eFax 248.671.0909
http://www.pcraft.com . 3550
Arapahoe Ave
.................. . . . . Boulder, CO 80303