[geos-devel] geos on SLES9 64-bit

Silke Reimer Silke.Reimer at intevation.de
Tue Apr 25 12:24:50 EDT 2006


Hallo,

Those of you that are on the postgis-devel list as well might be reminded to an
email I just sent there. I had a rather similar problem with geos as well:

I came across a problem with the configuration of geos during the build process
on a SLES9 based 64-bit architecture. The problem is that the libdir in SLES9
is $prefix/lib64 and not, as it is assumed for geos configuration $prefix/lib.
(Perhaps this problem occurs on other systems on 64-bit architectures as well,
I don't know).

Within geos-config the libdir is been defined as $prefix/lib which obviously is
wrong when working the SLES9 64-bit system. The problem can be solved rather
easily by means of the following patch. It would be nice if you could apply it
to the current geos CVS version.

Many greetings,

    Silke

--- tools/geos-config.in.orig   2006-04-24 12:12:23.102103384 +0200
+++ tools/geos-config.in        2006-04-24 12:13:00.922353832 +0200
@@ -35,10 +35,10 @@
     echo -I at prefix@/include
       ;;
     --libs)
-      echo -L at prefix@/lib -lgeos
+      echo -L at libdir@ -lgeos
       ;;
     --ldflags)
-      echo -L at prefix@/lib
+      echo -L at libdir@
       ;;
     --includes)
       echo @prefix@/include

-- 
Silke Reimer   : www.intevation.de/~silke | GISpatcher: www.gispatcher.de
Intevation GmbH: www.intevation.de        | Thuban    : thuban.intevation.org
Georgstr.4     : 49074 Osnabrück          | FreeGIS   : www.freegis.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.osgeo.org/pipermail/geos-devel/attachments/20060425/f9846369/attachment.bin


More information about the geos-devel mailing list