[postgis-users] Postgis installation on sles 11 sp1

Steve.Toutant at inspq.qc.ca Steve.Toutant at inspq.qc.ca
Wed Jan 4 06:33:29 PST 2012


Hi,
I still can't make postgis work on sles 11 sp1
I successfully installed postgres 9.1.2-64.1 from this repository
http://download.opensuse.org/repositories/server:/database:/postgresql/SLE_11_SP1

Then I installed postgis from this repo of sles11 (not sp1)
http://download.opensuse.org/repositories/Application:/Geo:/Postgres9PostGIS1/SLE_11
(also tried with this one 
http://download.opensuse.org/repositories/Application:/Geo/SLE_11)

Everything went well but I when I tried to enable postgis running 
postgis.sql, I got this error
psql:/usr/share/postgresql/contrib/postgis-1.5/postgis.sql:59: ERREUR: n'a 
pas pu charger la bibliothèque « /usr/lib64/postgresql/postgis-1.5.so » : 
/usr/lib64/postgresql/postgis-1.5.so: undefined symbol: 
DirectFunctionCall4

I also tried to compile postgis but I got this error 
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: 
/usr/lib64/libxml2.a(parser.o): relocation R_X86_64_32S 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

Anyone successfully installed postgis on sles 11 SP1?
Any help or suggestions?
Thanks for your help
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20120104/c984355d/attachment.html>


More information about the postgis-users mailing list