Opened 20 years ago

Closed 20 years ago

#856 closed defect (worksforme)

Geotiff, GDAL, unsatisfied symbols

Reported by: qoelhex@… Owned by: warmerdam
Priority: high Milestone:
Component: GDAL Support Version: 4.0
Severity: critical Keywords:
Cc:

Description

gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H
-DUSE_WMS_SVR      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG
-DUSE_GD_WBMP -DUSE_GD_FT -DUSE_PDF   -DUSE_GDAL
-I/usr/desen/cunivali/Tar/gd-2.0.23/    -I/opt/univali/include
-I/usr/desen/cunivali/Tar/gdal      shp2img.o  -L. -lmap
-L/usr/desen/cunivali/Tar/gd-2.0.23//.libs -lgd -L/opt/univali/lib -ljpeg
-lfreetype -lpng -lz   -lpdf -ltiff -L/opt/univali/lib -ljpeg -lfreetype -lpng
-lz -lproj -L/opt/univali/lib -ljpeg   -L/opt/univali/lib -lgdal        -lm   -o
shp2img
/usr/ccs/bin/ld: Unsatisfied symbols:
 operator delete[](void*)(first referenced in
/opt/univali/lib/libgdal.a(ddfrecord.o)) (code)
 GTIFGetGCSInfo (first referenced in
/opt/univali/lib/libgdal.a(gt_wkt_srs.o))(code)
 XTIFFClose (first referenced in /opt/univali/lib/libgdal.a(geotiff.o)) (code)
 gtCSLDestroy (first referenced in /opt/univali/lib/libgdal.a(gt_wkt_srs.o)) (code)
 GTIFKeyGet (first referenced in /opt/univali/lib/libgdal.a(gt_wkt_srs.o)) (code)

(...)

What can be this?

Change History (2)

comment:1 by fwarmerdam, 20 years ago

Status: newassigned
This is most likely due to linking against an older libgeotiff.  Does your
GDAL build work fine?  Ahh ... this is on HP-UX. 

If you built GDAL with an external libgeotiff you may find you need to explicitly 
add it to the link line for MapServer on non-Linux platforms.  Try adding
-lgeotiff after -lgdal in the list of libraries in the Makefile.  In the 
GDAL_LIB variable in the Makefile. 


comment:2 by fwarmerdam, 20 years ago

Resolution: worksforme
Status: assignedclosed
No followup from reporting ... closing.

Note: See TracTickets for help on using tickets.