#5215 closed defect (fixed)
FileGDB_API missing libFileGDBAPI.so in configure script
Reported by: | ctnumn | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | default | Version: | unspecified |
Severity: | normal | Keywords: | fgdb, FileGDB |
Cc: |
Description
I get this error if I try to use FileGDB_API.
/usr/bin/ld: warning: libfgdbunixrtl.so, needed by /build/FileGDB_API/lib/libFileGDBAPI.so, not found (try using -rpath or -rpath-link)
This can be fixed by adding in a -lfgdbunixrtl in the FGDB detection section of configure so that it knows to link in the correct shared library.
$ diff configure configure.original 22317c22317 < FGDB_LIB="-L$with_fgdb/lib -lFileGDBAPI -lfgdbunixrtl" --- > FGDB_LIB="-L$with_fgdb/lib -lFileGDBAPI"
Note:
See TracTickets
for help on using tickets.
r26459 "configure for FileGDB: add explicit linking to libfgdbunixrtl (requires FileGDB SDK >= 1.2) (#5215); also try .dylib extension (#5221)"