[gdal-dev] Problem with the GDAL 1.9.1 GDALmake.opt for ESRI FileGDB API 1.2 on Linux
Even Rouault
even.rouault at mines-paris.org
Wed Jul 25 15:49:45 PDT 2012
Le jeudi 26 juillet 2012 00:34:03, Jim Bellenger a écrit :
> I have found that there is a problem with how the GDALmake.opt file is
> created with 1.9.1 on Linux when using the FileGDB API 1.2.
>
> ESRI now has two .so files required so I think there should be the
> following changes to the configure script
>
> 21840c21840
> < if test -z "`${CXX} ${CPPFLAGS} testfgdb.cpp -lFileGDBAPI -o testfgdb
> 2>&1`" ; then
> ---
>
> > if test -z "`${CXX} ${CPPFLAGS} testfgdb.cpp -lFileGDBAPI
>
> -lfgdbunixrtl -o testfgdb 2>&1`" ; then
> 21844c21844
> < FGDB_LIB="-lFileGDBAPI"
> ---
>
> > FGDB_LIB="-lFileGDBAPI -lfgdbunixrtl"
>
> 21864c21864
> < FGDB_LIB="-L$with_fgdb/lib -lFileGDBAPI"
> ---
>
> > FGDB_LIB="-L$with_fgdb/lib -lFileGDBAPI -lfgdbunixrtl"
This should not be necessary, if the path to the filegdb is in LD_LIBRARY_PATH
or ld.so.conf. In which case the dynamic loader will find libfgdbunixrtl.so .
You will need to do it for runtime anyway.
More information about the gdal-dev
mailing list