Ticket #243 (closed defect: fixed)
3.7 compiled with --with-tiff and --with-wmsclient results in undefined symbol error (CPLGetXMLValue)
|Reported by:||keon@…||Owned by:||dmorissette|
>Dylan Keon wrote: >> I am also able to successfully compile 3.7 using --with-tiff, but when I >> try to use it I get the following error (and this compiled version >> doesn't do me any good anyway, since I need to use GDAL): >> >> Warning: Unable to load dynamic library >> '/usr/local/src/php-4.2.3/ext/php_mapscript.so' - >> /usr/local/src/php-4.2.3/ext/php_mapscript.so: undefined symbol: >> CPLGetXMLValue in /www/gis/crypto/crypto.php on line 3 >> Daniel Morissette wrote: >Did you include --with-wmsclient? I'm surprised that 'configure' didn't >complain about the missing GDAL/OGR dependency in this case. Can you >please file this one as a new bug and assign it to me? Please include >your complete list of configure options so that we can reproduce it. Here is the configure script: ./configure \ --enable-debug \ --with-wmsclient \ --with-tiff \ --with-jpeg=/usr/local/src/jpeg-6b \ --with-png=/usr/local/src/libpng-1.2.2 \ --with-gd=/usr/local/src/gd-2.0.7 \ --with-freetype=/usr/bin/freetype-config \ --with-zlib=/usr/local/src/zlib-1.1.4 \ --with-proj=/usr/local/src/proj-4.4.5 \ --with-postgis=/usr/local/pgsql/bin/pg_config \ --disable-rxposix-conflict-error \ --with-php=/usr/local/src/php-4.2.3 Looks like there might be some funky stuff happening when running ./configure, like maybe when it recognizes libwww it automatically enables WMS client support? See partial output: checking whether we should include OGR support... OGR support not requested. checking if GDAL support requested... no checking if PostGIS support requested... yes, user supplied pg_config checking if OracleSpatial support requested... no checking if MING/Flash support requested... no checking whether we should include WMS Server support... OGC WMS compatibility enabled (-DUSE_WMS_SVR). checking whether we should include WFS Server support... OGC WFS Server support not requested. checking whether we should include WMS Client Connections support... checking whether we should include WFS Client Connections support... OGC WFS Client Connections not enabled (PROJ.4, libwwwand OGR required). checking for libwww-config... /usr/bin/libwww-config found libwww version 5.4.0 OGC WMS Client Connections enabled (-DUSE_WMS_LYR). checking for potential conflict between system regex and rxposix...
Note: See TracTickets for help on using tickets.