[Mapserver-users] Trouble loading php_mapscript.so
Lin Jianfong
ljfong@hotmail.com
Sun, 27 Jul 2003 03:53:06 -0700
Hi,
When I tried to load up php_mapscript.so as PHP extension, I got this error
message :
Warning: dl() [function.dl]: Unable to load dynamic library
'/usr/local/lib/php/extensions/no-debug-non-zts-20020429/php_mapscript.so' -
/usr/local/lib/php/extensions/no-debug-non-zts-20020429/php_mapscript.so:
Undefined symbol "FT_New_Face" in /usr/home/ljfong/public_html/info.phtml on
line 6
I'm using mapserver 3.6.6 with phpmapscript in it. However, if I compile
mapserver+phpmapscript without --with-freetype option to configure script, I
don't get the above error message rather I get error message from mapserver
saying libgd wasn't compiled with truetype font support. End result, none of
my application works.
The libgd I'm using right now is 1.8.4. Tried 2.0.15 before, but mapserver
refused to load even png altogether.
I think I'm confused about a lot of things here, with mapserver 3.6.6 :
- What version of libgd is the most compatible ?
- What version of libfreetype is the most compatible ?
Here's the option I passed in when compiling mapserv :
./configure --with-gd=static,/usr/local --without-tiff
--with-jpeg=/usr/local --with-png=/usr/local --with-proj=/usr/local
--with-gdal --with-wms --with-php=../php-4.3.0 --with-wmsclient
--enable-runpath --with-postgis --with-freetype
on FreeBSD 4.8 system.
Any suggestion/idea would be greatly appreciated.
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users