faqts : Computers : Programming : Languages : PHP : Installation and Setup : Modules

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

25 of 40 people (63%) answered Yes
Recently 3 of 10 people (30%) answered Yes

Entry

gd 1.8.2 doesn't create a libgd.so. php4 won't configure with a --with-gd=[dir] because of this.

May 31st, 2000 05:41
flipp bunts,


installed gd-1.2.8-1.i386.rpm and gd-devel-1.8.2-1.i386.rpm. i still
don't know why building gd by hand doesn't create the libgd.so, but the
rpms have the required library. once gd is installed ( in /usr/lib )
run an apache config, configure php with :
./configure --with-mysql=/usr/mysql \ 
--enable-safe-mode \ 
--enable-track-vars \
--enable-calendar \
 --with-gd=/usr \ 
--with-ttf \
--enable-memory-limit \
--with-apache=../apache_1.3.12 \
--with-jpeg-dir=/usr

the flags to make sure you include are '--with-gd=/usr' and
--with-jpeg-dir=/usr. --with-ttf is nice to have with gd, and the other
options are just things i used ( not neccesarily needed to get gd to
work )

just follow the php INSTALL instructions after this point. ( i couldn't
get --with-gd=shared,/usr to work.. so i wouldn't suggest it )