[mapserver-users] cannot build svn mapserver with php-mapscript
Jeff McKenna
jmckenna at gatewaygeomatics.com
Thu May 17 09:44:54 PDT 2012
On 12-05-17 12:17 PM, Steve.Toutant at 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/
More information about the MapServer-users
mailing list