<br><font size=2 face="sans-serif">After hours of searching I found the
problem a few minutes after I post on the mailing list.</font>
<br><font size=2 face="sans-serif">Thanks to these guys</font>
<br><font size=2 face="sans-serif">http://www.linuxquestions.org/questions/linux-software-2/ubuntu-amd64-x86_64-version-7-04-issues-with-compiling-php-from-source-578103/</font>
<br>
<br><font size=2 face="sans-serif">The problem was a bad symbolic link.<br>
lrwxrwxrwx 1 root root &nbsp; &nbsp; &nbsp;16 janv. &nbsp;4 08:47 libxml2.so
-&gt; libxml2.so.2.7.1</font>
<br><font size=2 face="sans-serif">lrwxrwxrwx 1 root root &nbsp; &nbsp;
&nbsp;16 déc. 22 08:55 libxml2.so.2 -&gt; libxml2.so.2.7.6</font>
<br>
<br><font size=2 face="sans-serif">&nbsp;libxml2.so.2.7.1 didn't exist</font>
<br>
<br><font size=2 face="sans-serif">I defined a new symbolic link so now
&nbsp;libxml2.so point on libxml2.so.2.7.6</font>
<br><font size=2 face="sans-serif">I just built and tested php-mapscript
and it is working</font>
<br><font size=2 face="sans-serif">Steve</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Jeff McKenna &lt;jmckenna@gatewaygeomatics.com&gt;@lists.osgeo.org</b>
</font>
<br><font size=1 face="sans-serif">Envoyé par : mapserver-users-bounces@lists.osgeo.org</font>
<p><font size=1 face="sans-serif">2012-05-17 12:44</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">A</font></div>
<td><font size=1 face="sans-serif">mapserver &lt;mapserver-users@lists.osgeo.org&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td><font size=1 face="sans-serif">Re: [mapserver-users] cannot build svn
mapserver with php-mapscript</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br>
<br>
<br><tt><font size=2>On 12-05-17 12:17 PM, Steve.Toutant@inspq.qc.ca wrote:<br>
&gt; <br>
&gt; Hi,<br>
&gt; I successfully built mapserver (svn version) on SLES 11 SP1, but cannot<br>
&gt; compile with php-mapscript. I get this error<br>
&gt; /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:<br>
&gt; /usr/lib64/libxml2.a(error.o): relocation R_X86_64_32 against<br>
&gt; `.rodata.str1.1' can not be used when making a shared object; recompile<br>
&gt; with -fPIC<br>
&gt; /usr/lib64/libxml2.a: could not read symbols: Bad value<br>
&gt; collect2: ld returned 1 exit status<br>
&gt; make[1]: *** [php_mapscript.so] Erreur 1<br>
&gt; <br>
&gt; Here is the /configure options I used, and below the mapserver config
I get<br>
&gt; Someone can help?<br>
<br>
<br>
Hello Steve,<br>
<br>
I am not on that platform, but I am guessing there is a problem with<br>
your libxml2 binaries. &nbsp;I would try something like:<br>
<br>
 &nbsp;yum install libxml2-devel<br>
<br>
(or whatever your the package command is in your environment)<br>
<br>
Hopefully others with comment with more details for you.<br>
<br>
-jeff<br>
<br>
<br>
<br>
<br>
<br>
<br>
-- <br>
Jeff McKenna<br>
MapServer Consulting and Training Services<br>
http://www.gatewaygeomatics.com/<br>
<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
mapserver-users@lists.osgeo.org<br>
http://lists.osgeo.org/mailman/listinfo/mapserver-users<br>
</font></tt>
<br>
<br>
<br>