[gdal-dev] compiling gdal 1.9 with FGDB support

Eric Goddard egoddard1010 at gmail.com
Sat Apr 28 11:14:56 EDT 2012


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...






On Sat, Apr 28, 2012 at 5:56 AM, Even Rouault
<even.rouault at mines-paris.org>wrote:

> Le samedi 28 avril 2012 06:47:03, Eric Goddard a écrit :
> > Hello everyone,
> >
> > I'm attempting to compile gdal 1.9 with fgdb support on kubuntu 12.04.
> I've
> > downloaded the FileGDB api and have it set it up in /usr/local. Running
> the
> > samples from the FileGDB folder completes successfully.
> >
> > I'm configuring gdal with the following options:
> >  ./configure --with-geos=yes --with-sqlite3
> > --with-fgdb=/usr/local/FileGDB_API --with-python --with-spatialite
> > --with-curl
> >
> > The summary says the fgdb support has been enabled, but make ends with
> the
> > following error:
> >
> > /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
> >
> > Does anyone know why this might be happening? I've added a conf file to
> > /etc/ld.so.conf.d/ with the path to the FileGDB_API folder and ran
> > ldconfig. Both the fgdblinuxrtl.so and filegdbapi.so are in the
> > FileGDB_API/lib folder.
>
> In the /etc/l.so.conf.d/ you must point to /usr/local/FileGDB_API/lib, not
> /usr/local/FileGDB_API
>
> >
> > Thanks,
> > Eric
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120428/844043b4/attachment.html


More information about the gdal-dev mailing list