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 [EMAIL PROTECTED]@/include
       ;;
     --libs)
-      echo [EMAIL PROTECTED]@/lib -lgeos
+      echo [EMAIL PROTECTED]@ -lgeos
       ;;
     --ldflags)
-      echo [EMAIL PROTECTED]@/lib
+      echo [EMAIL PROTECTED]@
       ;;
     --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

Attachment: signature.asc
Description: Digital signature

_______________________________________________
geos-devel mailing list
geos-devel@geos.refractions.net
http://geos.refractions.net/mailman/listinfo/geos-devel

Reply via email to