Hi, I successfully built mapserver (svn version) on SLES 11 SP1, but cannot compile with php-mapscript. I get this error /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/libxml2.a(error.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/lib64/libxml2.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [php_mapscript.so] Erreur 1
Here is the /configure options I used, and below the mapserver config I get Someone can help? thanks steve make distclean ./configure --with-gdal=/usr/bin/gdal-config \ --with-httpd=/usr/sbin/httpd2 \ --with-wfsclient \ --with-wmsclient \ --enable-debug \ --with-curl-config=/usr/bin/curl-config \ --with-proj \ --with-png=/usr \ --with-tiff \ --with-gd=/usr \ --with-gif=/usr \ --with-jpeg=/usr \ --with-xpm=/usr \ --with-freetype=/usr/bin \ --with-threads \ --with-postgis=/usr/bin/pg_config \ --with-agg \ --with-php=/usr/include/php5 \ --with-ogr=/usr/bin/gdal-config \ --with-wfs \ --with-geos MapServer is now configured for -------------- Compiler Info ------------- C compiler: gcc -g -fPIC -Wall C++ compiler: g++ -g -fPIC -Wall Debug: -g Generic NINT: -------------- Renderer Settings --------- OpenGL support: zlib support: -DUSE_ZLIB png support: -DUSE_PNG gif support: -DUSE_GIF jpeg support: -DUSE_JPEG freetype support: -DUSE_FREETYPE iconv support: -DUSE_ICONV AGG support: internal SVG Symbol support: -DUSE_AGG_SVG_SYMBOLS Cairo (SVG,PDF) support: KML support: -------------- Support Libraries --------- Proj.4 support: -DUSE_PROJ Libxml2 support: -DUSE_LIBXML2 FriBidi support: Curl support: -DUSE_CURL -DUSE_CURLOPT_PROXYAUTH FastCGI support: Threading support: -DUSE_THREAD GEOS support: -DUSE_GEOS XML Mapfile support: XSLT support: EXSLT support: -------------- Data Format Drivers ------- PostGIS support: -DUSE_POSTGIS -DPOSTGIS_HAS_SERVER_VERSION ArcSDE support: OGR support: -DUSE_OGR GDAL support: -DUSE_GDAL Oracle Spatial support: -------------- OGC Services -------------- WMS Server: -DUSE_WMS_SVR WMS Client: -DUSE_WMS_LYR WFS Server: -DUSE_WFS_SVR WFS Client: -DUSE_WFS_LYR WCS Server: SOS Server: -------------- MapScript ----------------- PHP MapScript: yes
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users