[gdal-dev] compiling with FileGeodb API 1.2

Stefano Iacovella stefano.iacovella at gmail.com
Thu Mar 15 17:50:59 EDT 2012


Hello all

I downloaded the 1.2 release of ESRI FileGeoDB API to upgrade my gdal
installation.
Previously I compiled gdal 1.9.0 with 1.1 release of ESRI API.
I'm working on ubuntu server 10.04 32 bit and of course I picked up
the 32 bit release of the API.
I unpacked the API tarball in /usr/local/FileGDB_API_1_2 and started
to recompile gdal as:

./configure --with-libtiff=internal --with-python --with-jpeg=internal
--with-png=internal --with-xerces
--with-fgdb=/usr/local/FileGDB_API_1_2 --with-geos --with-pg
--with-ecw=yes --with-curl=yes

It didn't complain about anything and terminate configuration step successfully.

Then I run make to start compiling but it stopped with error about
libfgdblinuxrtl.so being unavailable.

I checked inside API files and found that in 1.1 release the lib
folder contains this two files:

drwxr-xr-x 2 stefano stefano    4096 2011-07-29 21:05 ./
drwxr-xr-x 8 stefano stefano    4096 2011-08-03 20:12 ../
-rwxr-xr-x 1 stefano stefano  581396 2011-07-29 21:02 libfgdblinuxrtl.so*
-rwxr-xr-x 1 stefano stefano 8999007 2011-07-29 21:05 libFileGDBAPI.so*

at release 1.2 the same folder contains:

drwxr-xr-x 2 stefano stefano    4096 2012-03-13 22:37 ./
drwxr-xr-x 8 stefano stefano    4096 2012-02-28 00:24 ../
-rwxr-xr-x 1 stefano stefano  592995 2012-02-24 00:09 libfgdbunixrtl.so*
-rwxr-xr-x 1 stefano stefano 9961885 2012-02-24 00:12 libFileGDBAPI.so*

It seems to me that ESRI renamed a library. So I made a link to
"create" a old named library

sudo ln -s /usr/local/FileGDB_API_1_2/lib/libfgdbunixrtl.so
/usr/local/FileGDB_API_1_2/lib/libfgdblinuxrtl.so

Made it the compilation and installation was successfull.
I successfully tested ogrinfo with the sample FileGeodb at
http://trac.osgeo.org/gdal/wiki/FileGDB.

I'm not sure the library problem it is dued to somenthing wrong I did.
Is anyone experiencing something similar? Or may be something dirty
remained in the package of ESRI

Best regards

Stefano


-----------------------------------------------------
41.95581N 12.52854E


http://www.linkedin.com/in/stefanoiacovella

http://twitter.com/#!/Iacovellas


More information about the gdal-dev mailing list