Ticket #2004 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

configure.in missing gdal-config --dep-libs in GDAL_LIBS

Reported by: dmorissette Owned by: dmorissette
Priority: high Milestone:
Component: Build Problems Version: unspecified
Severity: normal Keywords:
Cc:

Description

When building MapServer with FGS (and possibly in other environments where not
all libs are installed in default locations), we sometimes get warnings about
some dependencies of GDAL not being found while mapserver binaries are being
linked, followed by a bunch of undefined symbols:

/usr/bin/ld: warning: libxerces-c.so.26, needed by
/opt/fgs1/fgs-dev/built/gdal/lib/libgdal.so, not found (try using -rpath or
-rpath-link)
/usr/bin/ld: warning: libgeotiff.so, needed by
/opt/fgs1/fgs-dev/built/gdal/lib/libgdal.so, not found (try using -rpath or
-rpath-link)
/usr/bin/ld: warning: libnetcdf.so, needed by
/opt/fgs1/fgs-dev/built/gdal/lib/libgdal.so, not found (try using -rpath or
-rpath-link)

Change History

Changed 6 years ago by dmorissette

  • owner changed from mapserverbugs to dmorissette
We can solve this by adding `gdal-config --dep-libs` to GDAL_LIBS in configure.in.

Taking this bug.

Changed 6 years ago by dmorissette

  • status changed from new to closed
  • resolution set to fixed
Fixed committed to CVS HEAD and branch-4-10
Note: See TracTickets for help on using tickets.