[mapserver-users] php_mapscript.so: undefined symbol: gdImageCreateFromGif

Daniel Morissette morissette at dmsolutions.ca
Wed Sep 12 13:30:06 PDT 2001


Ballard,Lowell wrote:
> 
> RH 7.1
> 
> Nightly build from yesterday
> 
> I can't seem to hammer out this problem.  I think it's an issue with 
> gd libraries but I didn't compile Apache with GD support nor PHP.  Is
> Mapserv seeing 2 gd library versions which may exist on the system?
> 
> ./configure -with-gd=./gd-1.8.4 --with-php=/usr/local/src/Apachetoolbox-1.5.32/src/php-4.0.6 --with-sde=../sdeexe81/ --with-sde-version=81
> 
> Using patched gd libs with .gif support.

RH7.1 comes with its own GD in /usr/lib ... so you are likely compiling
with the right one, but at runtime its the /usr/lib/libgd.so that gets
picked and this one has no GIF support.

Try configuring with

  --with-gd=static,./gd-1.8.4

This will force linking with ./gd-1.8.4/libgd.a

-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------
  Don't put for tomorrow what you can do today, because if 
      you enjoy it today you can do it again tomorrow.




More information about the MapServer-users mailing list