[mapserver-users] Problem compiling Mapserver w/ PHP Mapscript on Solaris 2.6

Daniel Morissette morissette at dmsolutions.ca
Tue Aug 21 09:33:13 EDT 2001


"Andries J. Algera" wrote:
> 
> I sucessfully compiled mapserver 3.5 on linux (Redhat). Whenever I try to
> do the same steps on solaris 2.6 I get the following errors at link time
> of the PHP module.
> 
> gcc  -W -Wl -o php_mapscript.so php_mapscript_util.o php_mapscript.o
> mapscript_i
> .o  -L/home/aalgera/mapserver -lmap       -ltiff -lgd    -lm


The part of the configure script that takes care of the PHP module needs
some rework...

Look in mapscript/php3/Makefile for the line "LD= gcc -W -Wl" and try
replacing it with "LD= gcc -shared" ... hopefully that will do the
trick.

-- 
------------------------------------------------------------
 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