[mapserver-users] PHP Problem
Doyon, Jean-Francois
Jean-Francois.Doyon at ccrs.nrcan.gc.ca
Fri Dec 28 08:20:58 PST 2001
Hello,
I jus tried to compile/setup PHP mapscript for the first time in a while and
am having problems.
The machine is a SunOS 5.8 with Apache 1.3.20 and PHP 4.0.6 compiled with:
'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--without-mysql'
'--with-system-regex' '--with-yaz'
phpinfo() works fine.
Then I compile Mapserver from the official 3.5 tarball using:
./configure --with-proj --with-wmsclient --with-gdal --with-ogr
--with-php=/usr/src/php-4.0.6/ --with-apxs=/usr/local/apache/bin/apxs
No problems there, apart from the odd warning.
But when I try to use dl() just before the phpinfo() I get:
Warning: Unable to load dynamic library
'/usr/local/lib/php/extensions/no-debug-non-zts-20001222/php_mapscript.so' -
ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: file
/usr/local/lib/php/extensions/no-debug-non-zts-20001222/php_mapscript.so:
symbol main: referenced symbol not found in /home/httpd/html/info.php on
line 3
Anybody seen this before? The ldd output looks fine, so all the libs are OK
... I'm not sure what that symbol is ... "main" .. sounds to me like it
should be internal, so how could it not find it? :)
Help!
Thanks,
Jean-François Doyon
Internet Service Development and Systems Support
GeoAccess Division
Canadian Center for Remote Sensing
Natural Resources Canada
http://atlas.gc.ca
Phone: (613) 992-4902
Fax: (613) 947-2410
More information about the MapServer-users
mailing list