[postgis-users] Strange problem building postgis 1.4.2 with geos

Bryan Montgomery monty at english.net
Thu Apr 7 10:50:39 PDT 2011


I'm probably missing something simple. However I've been looking at this for
a few hours scratching my head. First of, I know it's old versions we're
using, I'm hoping to upgrade everything to the latest but ....

We're trying to upgrade a version of geos, so we built and installed the
next version of geos.
geos-config --version reports 3.1.1.

Ok, so far, running configure:
  PostGIS is now configured for x86_64-unknown-linux-gnu

 -------------- Compiler Info -------------
  C compiler:           gcc -g -O2
  C++ compiler:         g++ -g -O2

 -------------- Dependencies --------------
  GEOS config:          /usr/local/bin/geos-config
  GEOS version:         3.1
  PostgreSQL config:    /usr/local/pgsql/bin/pg_config
  PostgreSQL version:   8.2
  PROJ4 version:        46
  PostGIS debug level:  0

All looks good, so we build ...
PostGIS was built successfully. Ready to install.

Now to check ..
ldd postgis/libpostgis-1.4.so
        libgeos_c.so.1 => /usr/local/pgsql/lib/libgeos_c.so.1
(0x00002b90d7544000)
        libproj.so.0 => /usr/local/pgsql/lib/libproj.so.0
(0x00002b90d7651000)
        libc.so.6 => /lib64/libc.so.6 (0x00002b90d77d8000)
        libgeos-3.0.0rc4.so =>
/usr/local/lib/libgeos-3.0.0rc4.so(0x00002b90d7a09000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00002b90d7c4f000)
        libm.so.6 => /lib64/libm.so.6 (0x00002b90d7e50000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002b90d7fa6000)
        /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)


So, do we have a dependency on libgeos-3.0.0rc4.so? It should be
libgeos-3.1.1.so

lrwxrwxrwx 1 root root       23 Apr  7 12:01 /usr/local/lib/
libgeos-3.0.0rc4.so -> libgeos-3.0.0rc4.so.OLD
-rwxr-xr-x 1 root root 13012533 Sep 26  2007
/usr/local/lib/libgeos-3.0.0rc4.so.OLD
lrwxrwxrwx 1 root root       20 Apr  7 12:01
/usr/local/lib/libgeos-3.0.3.so-> libgeos-3.0.3.so.OLD
-rwxr-xr-x 1 root root 13253940 Jan 30  2009
/usr/local/lib/libgeos-3.0.3.so.OLD
-rwxr-xr-x 1 root root 14585052 Apr  7 12:13 /usr/local/lib/libgeos-3.1.1.so
-rw-r--r-- 1 root root 38960654 Apr  7 12:13 /usr/local/lib/libgeos.a
-rwxr-xr-x 1 root root      824 Apr  7 12:13 /usr/local/lib/libgeos.la
lrwxrwxrwx 1 root root       16 Apr  7 12:13 /usr/local/lib/libgeos.so ->
libgeos-3.1.1.so
-rw-r--r-- 1 root root   866344 Apr  7 12:13 /usr/local/lib/libgeos_c.a
-rwxr-xr-x 1 root root      856 Apr  7 12:13 /usr/local/lib/libgeos_c.la
lrwxrwxrwx 1 root root       18 Apr  7 12:13 /usr/local/lib/libgeos_c.so ->
libgeos_c.so.1.6.0
lrwxrwxrwx 1 root root       18 Apr  7 12:13 /usr/local/lib/libgeos_c.so.1
-> libgeos_c.so.1.6.0
-rwxr-xr-x 1 root root   277201 Sep 26  2007
/usr/local/lib/libgeos_c.so.1.3.3
-rwxr-xr-x 1 root root   321896 Jan 30  2009
/usr/local/lib/libgeos_c.so.1.4.2
-rwxr-xr-x 1 root root   448459 Apr  7 12:13
/usr/local/lib/libgeos_c.so.1.6.0

It's probably not a postgis issue per se and more of a linux build /
configuration but I'd appreciate your help!

Thanks - Bryan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20110407/46b00b0d/attachment.html>


More information about the postgis-users mailing list