Opened 17 years ago

Closed 17 years ago

#2004 closed defect (fixed)

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 (2)

comment:1 by dmorissette, 17 years ago

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.

comment:2 by dmorissette, 17 years ago

Resolution: fixed
Status: newclosed
Fixed committed to CVS HEAD and branch-4-10
Note: See TracTickets for help on using tickets.