Opened 20 years ago

#693 new defect

Linker error when building with GDAL

Reported by: hrz@… Owned by: mapserverbugs
Priority: normal Milestone:
Component: Build Problems Version: 4.2
Severity: normal Keywords:
Cc:

Description

The following symbol error occurs when building with GDAL:
undefined reference to `TIFFMergeFieldInfo'
in the file /usr/local/lib/libgdal.so

This was solved for us by editing the Makefile produced by configure from
GDAL_LIB=  -L/usr/local/lib -lgdal
to
GDAL_LIB=  -L/usr/local/lib -lgdal -L/usr/local/lib -ltiff

As can be seen our tiff library is user installed.

We were unable to find out how to specify the -ltiff option when running 
configure (setting LDCONFIG="-L/usr/local/lib -ltiff" did not work).

Change History (0)

Note: See TracTickets for help on using tickets.