Web Hosting Talk







View Full Version : Php, gd, and a raq4...??


jucebro
07-23-2001, 04:16 PM
Has anyone out there successfully installed php with gd (jpeg functions)? I can get it to compile, make, and make install. My problem comes up when I restart the httpd.conf. i get this error:

Shutting down Web Service:
Setting up Web Service: Syntax error on line 65 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/libphp4.so into server:

/usr/lib/apache/libphp4.so:
undefined symbol: gd_module_entry

Has anyone seen this, or know what is the usual cause for this error?

Thanks

huck
07-24-2001, 09:28 AM
You may want to check the ld.so.conf file. You want to make sure that the path to where the gd libs are stored is in this file. This has fixed this problem on some boxes by putting /usr/local/apache in here. But you really need to find out where the gd libs are stored and add those. After modifying ld.so.conf you must run ldconfig.

jucebro
07-24-2001, 02:04 PM
Huck,
Thanks for that advice. It turns out the problem was the libgd.* files need to be removed from the /usr/lib directory, and the libpng needed to be recompiled:beer:

scsi
07-26-2001, 04:36 AM
hi where can I download GD and what function it provides?

jucebro
07-26-2001, 12:09 PM
GD is a set of functions that allow you to manipulate png and jpg images on the fly. Gd also has many other features and uses.

Check it out here:
http://www.boutell.com/gd