[gdal-dev] compiling with FileGeodb API 1.2

Kyle Shannon KShannon at gcs-research.com
Thu Mar 15 18:24:22 EDT 2012


Stefano,
I just built from the trunk with filegdb support and had no issues.  I would make sure the 1.1 version is off your system and not anywhere configure could find it, then try again.

kss

-----Original Message-----
From: gdal-dev-bounces at lists.osgeo.org [mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of Stefano Iacovella
Sent: Thursday, March 15, 2012 3:51 PM
To: gdal-dev at lists.osgeo.org
Subject: [gdal-dev] compiling with FileGeodb API 1.2

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
_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list