Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#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"

Change History (2)

comment:1 Changed 4 years ago by Even Rouault

Resolution: fixed
Status: newclosed

r26459 "configure for FileGDB: add explicit linking to libfgdbunixrtl (requires FileGDB SDK >= 1.2) (#5215); also try .dylib extension (#5221)"

comment:2 Changed 4 years ago by Even Rouault

r26460 "Fix r26459"

Note: See TracTickets for help on using tickets.