On 12-05-17 12:17 PM, steve.tout...@inspq.qc.ca wrote: > > 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?
Hello Steve, I am not on that platform, but I am guessing there is a problem with your libxml2 binaries. I would try something like: yum install libxml2-devel (or whatever your the package command is in your environment) Hopefully others with comment with more details for you. -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users