<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 16 janv. 4 08:47 libxml2.so
-> libxml2.so.2.7.1</font>
<br><font size=2 face="sans-serif">lrwxrwxrwx 1 root root
16 déc. 22 08:55 libxml2.so.2 -> libxml2.so.2.7.6</font>
<br>
<br><font size=2 face="sans-serif"> 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
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 <jmckenna@gatewaygeomatics.com>@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 <mapserver-users@lists.osgeo.org></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>
> <br>
> Hi,<br>
> I successfully built mapserver (svn version) on SLES 11 SP1, but cannot<br>
> compile with php-mapscript. I get this error<br>
> /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:<br>
> /usr/lib64/libxml2.a(error.o): relocation R_X86_64_32 against<br>
> `.rodata.str1.1' can not be used when making a shared object; recompile<br>
> with -fPIC<br>
> /usr/lib64/libxml2.a: could not read symbols: Bad value<br>
> collect2: ld returned 1 exit status<br>
> make[1]: *** [php_mapscript.so] Erreur 1<br>
> <br>
> Here is the /configure options I used, and below the mapserver config
I get<br>
> 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. I would try something like:<br>
<br>
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>