[Qgis-user] How to compile gdal with ESRI FileGDB

Johan Nilsson joni8135 at gmail.com
Wed Nov 21 11:08:07 PST 2012


Thanks Josef :)

I followed your guide, with little different path and I also use
gdal_1.9.2. Your sudo ldconfig make sense :)  .But under ./confige . I get
an error:

joni at Intel:~/Desktop/gdal-mod/gdal-1.9.2$ ./configure --with-python
--with-fgdb=~/Desktop/gdal-mod/FileGDB_API
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
...
..and a lot of output...
...
checking openjpeg.h presence... yes
checking for openjpeg.h... yes
*checking for libFileGDBAPI.so in in ~/Desktop/gdal-mod/FileGDB_API/lib...
configure: error: not found.*
joni at Intel:~/Desktop/gdal-mod/gdal-1.9.2$ make
*GNUmakefile:2: GDALmake.opt: No such file or directory
make: *** No rule to make target `config.status', needed by
`GDALmake.opt'.  Stop.*

*joni at Intel:~/Desktop/gdal-mod/FileGDB_API/lib$ ls*
libfgdblinuxrtl.so  libfgdbunixrtl.so  libFileGDBAPI.so
joni at Intel:~/Desktop/gdal-mod/FileGDB_API/lib$

The first *error* under ./config seems really weird, because I have
libFileGDBAPI.so
in the folder it search in..

The second *error* do I not understand...but it is maybe dependent of the
first..

I may be a little slow in responding because this is not a really urgent
matter, but It should bee nice to read and create ESRIs FileDB in the
future...

/Cheers and thanx again


2012/11/21 Josef K <groundwatergis at gmail.com>

> Hi Johan
>
> I succeded installing gdal 1.9.1 with FileGDB support on ubuntu 12.04,
> 32-bit, by the following procedure:
>
> wget http://download.osgeo.org/gdal/gdal-1.9.1.tar.gz
> wget
> http://downloads.esri.com/Support/downloads/ao_/FileGDB_API_1_2-32.tar.gz
> tar xzf FileGDB_API_1_2-32.tar.gz
> cd FileGDB_API/lib
> ln -sf libfgdbunixrtl.so libfgdblinuxrtl.so
> sudo ldconfig
> sudo sh -c 'echo "~/FileGDB_API/lib" >> /etc/ld.so.conf'
> sudo ldconfig
> cd ..
> tar xvf gdal-1.9.1.tar.gz
> cd gdal-1.9.1
> ./configure --with-python --with-fgdb=~/FileGDB_API
> make
> sudo make install
> sudo ldconfig
>
>  installation verified by:
> gdal-config --version
>
> and I have succeded in converting a spatialite database to an ESRI file
> gdb by:
> ogr2ogr -f "FileGDB" ~/test.gdb ~/test.sqlite
>
> Now I would like to have a qgis-master installation using gdal 1.9.1 but
> this remains unsolved.
>
> Hope this helps!
> /Josef
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20121121/ee325d5d/attachment.html>


More information about the Qgis-user mailing list