[gdal-dev] compiling with FileGeodb API 1.2

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[gdal-dev] compiling with FileGeodb API 1.2

Stefano Iacovella
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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

RE: compiling with FileGeodb API 1.2

Kyle Shannon-2
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: [hidden email] [mailto:[hidden email]] On Behalf Of Stefano Iacovella
Sent: Thursday, March 15, 2012 3:51 PM
To: [hidden email]
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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________
gdal-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: compiling with FileGeodb API 1.2

Even Rouault
Le jeudi 15 mars 2012 23:24:22, Kyle Shannon a écrit :
> 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.

Kyle,

I've just experienced the same issue as Stefano's. I'm not clear why it works
for you, but ESRI did actually renamed the unix support lib, and GDAL's
configure needs to be updated. Sigh sigh sigh....

Stefano, would you mind opening a ticket about that ?

Even
_______________________________________________
gdal-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: compiling with FileGeodb API 1.2

jmckenna
Administrator
In reply to this post by Stefano Iacovella
Hi Stefano, I just compiled with the 1.2 API on Win64 (and I updated
that same wiki page this morning
http://trac.osgeo.org/gdal/wiki/FileGDB)...I had no problems on my side.

-jeff




--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/


_______________________________________________
gdal-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: compiling with FileGeodb API 1.2

Even Rouault
Le jeudi 15 mars 2012 23:39:22, Jeff McKenna a écrit :
> Hi Stefano, I just compiled with the 1.2 API on Win64 (and I updated
> that same wiki page this morning
> http://trac.osgeo.org/gdal/wiki/FileGDB)...I had no problems on my side.

Yeah, I guess this is a Linux specific issue. And it is a stupid linking time
problem, that should be easy to fix. Compilation went fine luckily

>
> -jeff
_______________________________________________
gdal-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

RE: compiling with FileGeodb API 1.2

Kyle Shannon-2
In reply to this post by Even Rouault
I didn't reconfigure, just dumped the new libs in place of the old and it linked.  I get the same results as you now.

kss

-----Original Message-----
From: Even Rouault [mailto:[hidden email]]
Sent: Thursday, March 15, 2012 4:39 PM
To: [hidden email]
Cc: Kyle Shannon; Stefano Iacovella
Subject: Re: [gdal-dev] compiling with FileGeodb API 1.2

Le jeudi 15 mars 2012 23:24:22, Kyle Shannon a écrit :
> 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.

Kyle,

I've just experienced the same issue as Stefano's. I'm not clear why it works for you, but ESRI did actually renamed the unix support lib, and GDAL's configure needs to be updated. Sigh sigh sigh....

Stefano, would you mind opening a ticket about that ?

Even
_______________________________________________
gdal-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: compiling with FileGeodb API 1.2

Stefano Iacovella
In reply to this post by Even Rouault
I opened a ticket for the issue:

http://trac.osgeo.org/gdal/ticket/4570

Best regards

Stefano


2012/3/15 Even Rouault <[hidden email]>:

> Le jeudi 15 mars 2012 23:24:22, Kyle Shannon a écrit :
>> 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.
>
> Kyle,
>
> I've just experienced the same issue as Stefano's. I'm not clear why it works
> for you, but ESRI did actually renamed the unix support lib, and GDAL's
> configure needs to be updated. Sigh sigh sigh....
>
> Stefano, would you mind opening a ticket about that ?
>
> Even
_______________________________________________
gdal-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/gdal-dev