gd php freetype problem solved
| From: | Kurth Bemis | Date: | Thu, 19 Apr 2001 23:40:45 +0000 |
| Subject: | gd php freetype problem solved | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-49448@lists.php.net to get a copy of this message | ||
This is just a post to get in the archives. So if someone searches the archives for this they'll hopefully hit this one and their problems will be solved. I've battled this for two days..and have finally solved the problem. I figure that the should help someone who had problems similar to mine.
when you configure php with gd keep in mind that you need to have libgd.a in /usr/lib. libgd.so won't do it!
watch:
./configure --with-mysql=/usr/local/mysql --with-apache=/usr/src/apache_1.3.19 --enable-ftp --with-jpeg-dir=/usr/src/jpeg-6b --with-png-dir=/usr/src/libpng-1.0.9 --with-freetype-dir=/usr/src/freetype-2.0.1/ --with-gd=/usr/src/gd-2.0.1 --with-imap=/usr/src/imap-4.5 --enable-gd-native-ttf' --enable-calendar'
you have to remember to do a make libgd.a in /usr/src/gd-2.0.1 (or where ever you untarrred gd)
.a libs are for being statically linked with progs. .so libs are stand alone, dynamic libs.
then everything works ok
you learn something new every day :-)
If anybody has questions i urge to ask me for a copy of the bash script that i used to compile php with apache. Mail me at kurth@usaexpress.net
~kurth
Kurth Bemis
Owner: Ozone Computer
Owner/Senior Administrator: USAExpress.net LLC
HomePage: http://kurth.hardcrypto.com
Man kann niemanden zu seinem Glück zwingen