[mapserver-users] PHP mapscript - unable to load dynamic library; undefined symbol sapi_globals

David Shorthouse DShorthouse at mus-nature.ca
Fri Apr 28 07:23:39 PDT 2017


Folks,

I get an 'Unable to load dynamic library...undefined symbol:
sapi_globals' with PHP MapScript under PHP 5.6.30 and MapServer 7.0.4
on Travis-CI, Ubuntu 14.04.5 LTS. See the build log:
https://travis-ci.org/dshorthouse/SimpleMappr/builds/226818941.

FWIW, I also receive the following on compilation:

textlayout.c: In function ‘msLayoutTextSymbol’:
textlayout.c:703:18: warning: unused variable ‘glyph_count’ [-Wunused-variable]
unsigned int glyph_count,j;

...then later:

php.h:290:19: warning: variable ‘zend_error’ set but not used
[-Wunused-but-set-variable]
#define php_error zend_error
error.c:96:21: note: in expansion of macro ‘php_error’
php_error_object *php_error;

Any ideas would be most appreciated,

David


More information about the MapServer-users mailing list