[gdal-dev] OGDI 3.2 Beta 2

William Kyngesburye woklist at kyngchaos.com
Thu Sep 23 23:02:06 EDT 2010


The OGDI source builds a bit of a broken library for OS X (library name, endian problem, plugin naming problem).  See the OS X build notes on my site for patches and info to get something useable.

On Sep 23, 2010, at 8:04 PM, Jeshua Lacock wrote:

> 
> 
> Greetings,
> 
> Is gdal 1.7.2 supposed to be compatible with OGDI 3.2 beta 2?
> 
> I am getting the following (I tried making a symbolic link from my libogdi.dylib to libogdi31.dylib:
> 
> configure:18511: result: no
> configure:18530: checking for cln_GetLayerCapabilities in -logdi31
> configure:18555: gcc -o conftest -arch x86_64 -arch x86_64 -L/usr/local/lib -arch x86_64 conftest.c -logdi31 -L/usr/local -L/usr/local/lib -logdi31 -L/usr/local -L/usr/local/lib -lnetcdf -L/usr/local/grass-6.4.0/lib -lgrass_vect -lgrass_dig2 -lgrass_dgl -lgrass_rtree -lgrass_linkm -lgrass_dbmiclient -lgrass_dbmibase -lgrass_I -lgrass_gproj -lgrass_vask -lgrass_gmath -lgrass_gis -lgrass_datetime -lpq -L/usr/local/pgsql/lib -lpq -lz -L/usr -L/usr/lib -lpthread -ldl  >&5
> ld: library not found for -logdi31
> collect2: ld returned 1 exit status
> configure:18555: $? = 1
> configure: failed program was:
> | /* confdefs.h */
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE_URL ""
> | #define STDC_HEADERS 1
> | #define HAVE_SYS_TYPES_H 1
> | #define HAVE_SYS_STAT_H 1
> | #define HAVE_STDLIB_H 1
> | #define HAVE_STRING_H 1
> | #define HAVE_MEMORY_H 1
> | #define HAVE_STRINGS_H 1
> | #define HAVE_INTTYPES_H 1
> | #define HAVE_STDINT_H 1
> | #define HAVE_UNISTD_H 1
> | #define HAVE_DLFCN_H 1
> | #define LT_OBJDIR ".libs/"
> | #define HAVE_LIBDL 1
> | #define STDC_HEADERS 1
> | #define HAVE_ASSERT_H 1
> | #define HAVE_FCNTL_H 1
> | #define HAVE_UNISTD_H 1
> | #define HAVE_DLFCN_H 1
> | #define HAVE_STDINT_H 1
> | #define HAVE_LIMITS_H 1
> | #define HAVE_LOCALE_H 1
> | #define HAVE_FLOAT_H 1
> | #define HAVE_ERRNO_H 1
> | #define HAVE_LONG_LONG 1
> | #define UNIX_STDIO_64 1
> | #define VSI_LARGE_API_SUPPORTED 1
> | #define VSI_FTELL64 ftello
> | #define VSI_FSEEK64 fseeko
> | #define VSI_STAT64 stat64
> | #define VSI_STAT64_T stat64
> | #define VSI_FOPEN64 fopen
> | #define SIZEOF_INT 4
> | #define SIZEOF_UNSIGNED_LONG 8
> | #define SIZEOF_VOIDP 8
> | #define HAVE_IEEEFP 1
> | #define HOST_FILLORDER FILLORDER_LSB2MSB
> | #define HAVE_VPRINTF 1
> | #define HAVE_SNPRINTF 1
> | #define HAVE_VSNPRINTF 1
> | #define HAVE_ATOLL 1
> | #define HAVE_STRTOF 1
> | #define HAVE_GETCWD 1
> | #define HAVE_DECL_STRTOF 1
> | #define HAVE_GCC_ATOMIC_BUILTINS 1
> | #define HAVE_PTHREAD_MUTEX_RECURSIVE 1
> | #define CPL_MULTIPROC_PTHREAD 1
> | #define HAVE_LIBPQ 1
> | /* end confdefs.h.  */
> | 
> | /* Override any GCC internal prototype to avoid an error.
> |    Use char because int might match the return type of a GCC
> |    builtin and then its argument prototype would still apply.  */
> | #ifdef __cplusplus
> | extern "C"
> | #endif
> | char cln_GetLayerCapabilities ();
> | int
> | main ()
> | {
> | return cln_GetLayerCapabilities ();
> |   ;
> |   return 0;
> | }
> configure:18564: result: no
> configure:18583: error: libogdi not found.
> 
> 
> Thanks,
> 
> Jeshua Lacock, Owner
> <http://OpenOSX.com>
> phone: 208.462.4171
> 
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Oh, look, I seem to have fallen down a deep, dark hole.  Now what does that remind me of?  Ah, yes - life."

- Marvin




More information about the gdal-dev mailing list