<br><font size=2 face="sans-serif">Hi,</font>
<br><font size=2 face="sans-serif">I successfully built mapserver (svn
version) on SLES 11 SP1, but cannot compile with php-mapscript. I get this
error</font>
<br><font size=2 face="sans-serif">/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</font>
<br><font size=2 face="sans-serif">/usr/lib64/libxml2.a: could not read
symbols: Bad value</font>
<br><font size=2 face="sans-serif">collect2: ld returned 1 exit status</font>
<br><font size=2 face="sans-serif">make[1]: *** [php_mapscript.so] Erreur
1</font>
<br>
<br><font size=2 face="sans-serif">Here is the /configure options I used,
and below the mapserver config I get</font>
<br><font size=2 face="sans-serif">Someone can help?</font>
<br><font size=2 face="sans-serif">thanks</font>
<br><font size=2 face="sans-serif">steve</font>
<br>
<br><font size=2 face="sans-serif">make distclean</font>
<br><font size=2 face="sans-serif"> ./configure
--with-gdal=/usr/bin/gdal-config \</font>
<br><font size=2 face="sans-serif">
--with-httpd=/usr/sbin/httpd2 \</font>
<br><font size=2 face="sans-serif">
--with-wfsclient \</font>
<br><font size=2 face="sans-serif">
--with-wmsclient \</font>
<br><font size=2 face="sans-serif">
--enable-debug \</font>
<br><font size=2 face="sans-serif">
--with-curl-config=/usr/bin/curl-config \</font>
<br><font size=2 face="sans-serif">
--with-proj \</font>
<br><font size=2 face="sans-serif">
--with-png=/usr \</font>
<br><font size=2 face="sans-serif">
--with-tiff \</font>
<br><font size=2 face="sans-serif">
--with-gd=/usr \</font>
<br><font size=2 face="sans-serif">
--with-gif=/usr
\</font>
<br><font size=2 face="sans-serif">
--with-jpeg=/usr \</font>
<br><font size=2 face="sans-serif">
--with-xpm=/usr \</font>
<br><font size=2 face="sans-serif">
--with-freetype=/usr/bin \</font>
<br><font size=2 face="sans-serif">
--with-threads \</font>
<br><font size=2 face="sans-serif">
--with-postgis=/usr/bin/pg_config \</font>
<br><font size=2 face="sans-serif">
--with-agg \</font>
<br><font size=2 face="sans-serif">
--with-php=/usr/include/php5 \</font>
<br><font size=2 face="sans-serif">
--with-ogr=/usr/bin/gdal-config \</font>
<br><font size=2 face="sans-serif">
--with-wfs \</font>
<br><font size=2 face="sans-serif">
--with-geos </font>
<br>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">MapServer is now configured for</font>
<br>
<br><font size=2 face="sans-serif"> -------------- Compiler Info -------------</font>
<br><font size=2 face="sans-serif"> C compiler:
gcc -g -fPIC -Wall</font>
<br><font size=2 face="sans-serif"> C++ compiler:
g++ -g -fPIC -Wall</font>
<br><font size=2 face="sans-serif"> Debug:
-g</font>
<br><font size=2 face="sans-serif"> Generic NINT:</font>
<br>
<br><font size=2 face="sans-serif"> -------------- Renderer Settings
---------</font>
<br><font size=2 face="sans-serif"> OpenGL support:</font>
<br><font size=2 face="sans-serif"> zlib support:
-DUSE_ZLIB</font>
<br><font size=2 face="sans-serif"> png support:
-DUSE_PNG</font>
<br><font size=2 face="sans-serif"> gif support:
-DUSE_GIF</font>
<br><font size=2 face="sans-serif"> jpeg support:
-DUSE_JPEG</font>
<br><font size=2 face="sans-serif"> freetype support:
-DUSE_FREETYPE</font>
<br><font size=2 face="sans-serif"> iconv support:
-DUSE_ICONV</font>
<br><font size=2 face="sans-serif"> AGG support:
internal</font>
<br><font size=2 face="sans-serif"> SVG Symbol support:
-DUSE_AGG_SVG_SYMBOLS</font>
<br><font size=2 face="sans-serif"> Cairo (SVG,PDF) support:</font>
<br><font size=2 face="sans-serif"> KML support:</font>
<br>
<br><font size=2 face="sans-serif"> -------------- Support Libraries
---------</font>
<br><font size=2 face="sans-serif"> Proj.4 support:
-DUSE_PROJ</font>
<br><font size=2 face="sans-serif"> Libxml2 support:
-DUSE_LIBXML2</font>
<br><font size=2 face="sans-serif"> FriBidi support:</font>
<br><font size=2 face="sans-serif"> Curl support:
-DUSE_CURL -DUSE_CURLOPT_PROXYAUTH</font>
<br><font size=2 face="sans-serif"> FastCGI support:</font>
<br><font size=2 face="sans-serif"> Threading support:
-DUSE_THREAD</font>
<br><font size=2 face="sans-serif"> GEOS support:
-DUSE_GEOS</font>
<br><font size=2 face="sans-serif"> XML Mapfile support:</font>
<br><font size=2 face="sans-serif"> XSLT support:</font>
<br><font size=2 face="sans-serif"> EXSLT support:</font>
<br>
<br><font size=2 face="sans-serif"> -------------- Data Format Drivers
-------</font>
<br><font size=2 face="sans-serif"> PostGIS support:
-DUSE_POSTGIS -DPOSTGIS_HAS_SERVER_VERSION</font>
<br><font size=2 face="sans-serif"> ArcSDE support:</font>
<br><font size=2 face="sans-serif"> OGR support:
-DUSE_OGR</font>
<br><font size=2 face="sans-serif"> GDAL support:
-DUSE_GDAL</font>
<br><font size=2 face="sans-serif"> Oracle Spatial support:</font>
<br>
<br><font size=2 face="sans-serif"> -------------- OGC Services --------------</font>
<br><font size=2 face="sans-serif"> WMS Server:
-DUSE_WMS_SVR</font>
<br><font size=2 face="sans-serif"> WMS Client:
-DUSE_WMS_LYR</font>
<br><font size=2 face="sans-serif"> WFS Server:
-DUSE_WFS_SVR</font>
<br><font size=2 face="sans-serif"> WFS Client:
-DUSE_WFS_LYR</font>
<br><font size=2 face="sans-serif"> WCS Server:</font>
<br><font size=2 face="sans-serif"> SOS Server:</font>
<br>
<br><font size=2 face="sans-serif"> -------------- MapScript -----------------</font>
<br><font size=2 face="sans-serif"> PHP MapScript:
yes</font>
<br>
<p>