[mapserver-dev] PHP MapScript: undefined symbol: php_regcomp
Gregor at HostGIS
gregor at hostgis.com
Wed Feb 2 20:29:20 EST 2011
Hey all. I posted to mapserver-users but got no reply. It may be more of
a developer question anyway.
I am hitting upon a weird problem with PHP MapScript: it will load
without issue, but crashes when trying to open a mapfile. I've hit up
Google for this error, but only find a few references and none of them
solved.
/var/www/cgi-bin/php: symbol lookup error:
/usr/lib/php/extensions/php_mapscript.so: undefined symbol: php_regcomp
Premature end of script headers: php
I tried compiling MapServer and MapScript in 5.0.0, 5.6.4, and 5.4.2 and
I get this same result in every case. So it's not something very version
related.
Given the name of the error, I was wondering if it's something in how
PHP was compiled. Last I heard, the advice was to use
--with-regex=system which I have.
PHP 5.2.14
./configure --prefix=/usr --with-libdir=lib64
--with-config-file-path=/etc/apache --sysconfdir=/etc
--enable-force-cgi-redirect --with-regex=system --with-freetype-dir=/usr
--with-openssl --with-zlib --with-curl --enable-ftp --with-pgsql
--with-mysql --with-mysqli --enable-dbase --enable-soap --with-gettext
--enable-mbstring=all --enable-mbregex --with-gd --with-jpeg-dir=/usr
--with-png-dir=/usr
Any thoughts on this?
--
HostGIS, Open Source solutions for the global GIS community
Greg Allensworth - SysAdmin, Programmer, GIS Person, Security
Network+ Server+ A+ Security+ Linux+
PHP PostgreSQL MySQL DHTML/JavaScript/AJAX
"No one cares if you can back up — only if you can recover."
More information about the mapserver-dev
mailing list