[Mapserver-users] compile problem with 3.6.3 and php 4.2.2

Attila Csipa attila at prometheus.org.yu
Thu Dec 19 23:35:20 EST 2002


> I have compiled mapserver with 
> ./configure --without-tiff --with-proj --with-gdal --with-ogr --with-jpeg --with-php=/usr/local/src/php-4.2.2/
> When I call a php I get nothing in the browser but I get:
> php: relocation error: /usr/local/lib/php/extensions/no-debug-non-zts-20020429/php_mapscript.so: undefined symbol: msGetErrorObj
> In the error log when I try to open the map file.
> Does any one have any ideas.

I ran into this one as well. IIRC this is because your php looks for the
php.ini file on a different location. If you did not specify it during
php compilation, the php default is /usr/local/lib/php.ini, versus the
redhat default of /etc/php.ini, this can be solved either by compiling
php with the proper config file or by copying/linking /etc/php.ini to
the other location.

Regards,
Attila




More information about the mapserver-users mailing list