[postgis-users] Updated PostGIS 2.0 Ubuntu 12.04 install instructions posted
Bborie Park
bkpark at ucdavis.edu
Wed Jul 4 15:04:49 PDT 2012
You'll want to see if the libjvm.so version you is the version needed
by GDAL. Also, run ldd on libgdal.so to see what else may be missing.
-bborie
On Wed, Jul 4, 2012 at 2:52 PM, GregoryKramdia <algomorph at gmail.com> wrote:
> 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.
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
--
Bborie Park
Programmer
Center for Vectorborne Diseases
UC Davis
530-752-8380
bkpark at ucdavis.edu
More information about the postgis-users
mailing list