[gdal-dev] compiling gdal 1.9 with FGDB support

Even Rouault even.rouault at mines-paris.org
Sat Apr 28 11:22:01 EDT 2012


Le samedi 28 avril 2012 17:14:56, Eric Goddard a écrit :
> Thanks for the response, Even. I updated the ld path and ran ldconfig, and
> reran configure and make with the same options as before, but I received
> this error message again:
> 
> /usr/bin/ld: cannot find -lfgdblinuxrtl
> collect2: ld returned 1 exit status
> make[1]: *** [libgdal.la] Error 1
> make[1]: Leaving directory `/home/eric/Downloads/gdal-1.9.0'
> make: *** [check-lib] Error 2
> 
> Running ldconfig -v outputs:
> /usr/local/FileGDB_API/lib:
>     libFileGDBAPI.so -> libFileGDBAPI.so
>     libfgdbunixrtl.so -> libfgdbunixrtl.so
> 
> So it looks like ld finds libfgdbunixrtl.so...

Ah, I guess you use FileGDB API 1.2. There was a change in ESRI delivery 
between FileGDB API 1.1 and 1.2. They renamed libgdblinuxrtl.so into  
libfgdbunixrtl.so. Support for FileGDB API 1.2 will be fixed in next-to-be-
released 1.9.1 (see http://trac.osgeo.org/gdal/ticket/4570 ). In the meantime, 
you can create a symlink, like that :

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


More information about the gdal-dev mailing list