Package Details: filegdb-api 1.5.1-2

Git Clone URL: https://aur.archlinux.org/filegdb-api.git (read-only)
Package Base: filegdb-api
Description: ESRI File Geodatabase (FileGDB) API
Upstream URL: https://github.com/Esri/file-geodatabase-api
Keywords: GIS
Licenses: Apache
Submitter: saultdon
Maintainer: saultdon
Last Packager: saultdon
Votes: 2
Popularity: 0.000000
First Submitted: 2013-09-14 01:36
Last Updated: 2019-04-16 18:22

Required by (1)

Sources (1)

Latest Comments

1 2 Next › Last »

kikislater commented on 2019-04-11 17:32

Please update to 1.5 as advise in gdal wiki

dobedobedo commented on 2018-07-03 10:30

Hi, is it possible to modify the PKGBUILD to download the 1.5.1 api and compile?

alculquicondor commented on 2017-10-18 21:57

Upstream seems to have added support for gcc5.1+
https://github.com/Esri/file-geodatabase-api/blob/master/FileGDB_API_1.5.1/FileGDB_API_1_5_1-64gcc51.tar.gz
With this file, I was able to compile gdal with FileGDB support

eraptic commented on 2016-02-03 08:46

@striges1111 & @saultdon, Please ignore my last comment. I was in a rush to get home from work and was adding to CFLAGS not CPPFLAGS *facepalm*

eraptic commented on 2016-02-03 08:05

Hi @striges1111, I was just wondering if you would be able to give a little more information as to the fix you described? I have tried adding -D_GLIBCXX_USE_CXX11_ABI=0 to CFLAGs but still didn't have any luck. I didn't quite understand what you meant to adding it to 'make.include'.

@saultdon: any chance of having the patch merged into the PKGBUILD at all?

eraptic commented on 2016-02-03 08:05

Hi @striges1111, I was just wondering if you would be able to give a little more information as to the fix you described? I have tried adding -D_GLIBCXX_USE_CXX11_ABI=0 to CFLAGs but still didn't have any luck. I didn't quite understand what you meant to adding it to 'make.include'.

@saultdon: any chance of having the patch merged into the PKGBUILD at all?

saultdon commented on 2016-01-25 18:32

@striges1111 Good work. Would you like to be a co-maintainer to make those changes?

striges1111 commented on 2016-01-18 02:57

Hi @saultdon,

The ABI issue against gcc 5.x could be solved by adding -D_GLIBCXX_USE_CXX11_ABI=0 in `make.include`. Could you update the PKGBUILD using this patch? In addition, new Makefile in v1.4 filegdb-api seems already included /usr/include/libxml2.


diff --git a/PKGBUILD b/PKGBUILD
index afbfcb3..bb73055 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -35,6 +35,9 @@ build() {
#Setup LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$srcdir/${pkgname}/lib:$LD_LIBRARY_PATH

+ #Modify make.include to use old ABI
+ cd "$srcdir/${pkgname}/include"
+ sed -i '/-D_LARGEFILE64_SOURCE/ s/$/ -D_GLIBCXX_USE_CXX11_ABI=0/' make.include

#Building all samples
cd "$srcdir/${pkgname}/samples"
@@ -44,8 +47,8 @@ build() {
cd "$srcdir/${pkgname}/samples/ProcessTopologies"

# Insert libxml2 library path to Makefile
- sed -i '/^CXXFLAGS=/ s/$/ -I\/usr\/include\/libxml2\//' Makefile
- make
+ #sed -i '/^CXXFLAGS=/ s/$/ -I\/usr\/include\/libxml2\//' Makefile
+ #make
}

d7rk commented on 2015-12-18 08:42

@saultdon
Thanks Saultdon, compiling without the filegdb-api worked.
Have a great day,

saultdon commented on 2015-12-16 21:30

Hey @d7rk, I think this is going to be an upstream fix we have to wait for because I can't think of anything off the top of my head for a patch. I think it's related to the GCC C++ ABI change recently.

In regards to the gdal-filegdb package, I was able to compile that after removing filegdb-api from the depends array, removing --with-fgdb=/usr from the configure, and then uninstalling the gdal-grass plugin package (gdal-grass can be recompiled again once grass is re-compiled if that's installed).

But that of course leaves gdal-filegdb lacking ESRI FileGDB API driver support, but it comes with the OpenFileGDB driver by default now which at least gives you read access to file geodatabases (I can't remember if there are write limitations...).