[postgis-users] Updated PostGIS 2.0 Ubuntu 12.04 install instructions posted

GregoryKramdia algomorph at gmail.com
Wed Jul 4 14:52:50 PDT 2012


The building-from-source version didn't work for me.
I'm getting the "checking for library containing GDALAllRegister... no"
error when I run the ./configure for PostGIS.
$ gdal-config version
returns
1.9.0,

I've also checked the ld.so.conf, it did include /usr/local/lib and /usr/lib
(the latter including path to libpq.so.5 sought by others).
In the config.log I got this at first:
/usr/bin/ld.bfd.real: warning: libjvm.so, needed by /usr/lib/libgdal.so, not
found (try using -rpath or -rpath-link)

So, I've searched for libjvm.so:
$ locate libjvm.so
/usr/lib/jvm/java-1.5.0-gcj-4.6/lib/libjvm.so
/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/cacao/libjvm.so
/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/jamvm/libjvm.so
/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server/libjvm.so
/usr/lib/x86_64-linux-gnu/gcj-4.6-12/libjvm.so

I've tried putting various of these paths into ld.so.conf, and still got the
same error.

I've checked the config.log again and found this (for the best case of the
above):
configure:19756: gcc -o conftest  -I/usr/include/gdal  conftest.c -lgdal 
-L/usr/lib -lgdal >&5
/usr/lib/libgdal.so: undefined reference to `pj_ctx_free'
/usr/lib/libgdal.so: undefined reference to `pj_ctx_alloc'
/usr/lib/libgdal.so: undefined reference to `pj_ctx_get_errno'
/usr/lib/libgdal.so: undefined reference to `pj_init_plus_ctx'
collect2: ld returned 1 exit status

--
View this message in context: http://postgis.17.n6.nabble.com/Updated-PostGIS-2-0-Ubuntu-12-04-install-instructions-posted-tp4955872p4998772.html
Sent from the PostGIS - User mailing list archive at Nabble.com.



More information about the postgis-users mailing list