[mapserver-dev] [ Mapserver 6.0.2 ] - libgdal.so | [shp2img] Error 1

Salvatore Larosa s_larosa at libero.it
Mon Feb 20 16:41:00 EST 2012

I get an error while building mapserver 6.0.2,
at "make" I get the following:

/usr/local/lib/libgdal.so: undefined reference to
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1

More info:

$ gdal-config --version
$ gdal-config --libs
-L/usr/local/lib -lgdal

MapServer is now configured for 

 -------------- Compiler Info ------------- 
  C compiler:                gcc -g  -fPIC -Wall  
  C++ compiler:              g++ -g  -fPIC -Wall  
  Debug:                     -g 
  Generic NINT:              

 -------------- Renderer Settings --------- 
  OpenGL support:            
  zlib support:              -DUSE_ZLIB
  png support:               -DUSE_PNG
  gif support:               -DUSE_GIF
  jpeg support:              -DUSE_JPEG
  freetype support:          -DUSE_FREETYPE
  iconv support:             -DUSE_ICONV
  AGG support:               internal
  SVG Symbol support:        -DUSE_AGG_SVG_SYMBOLS
  Cairo (SVG,PDF) support:   
  KML support:               

 -------------- Support Libraries --------- 
  Proj.4 support:            -DUSE_PROJ
  Libxml2 support:           -DUSE_LIBXML2
  FriBidi support:           
  Curl support:              -DUSE_CURL -DUSE_CURLOPT_PROXYAUTH
  FastCGI support:           
  Threading support:         -DUSE_THREAD
  GEOS support:              -DUSE_GEOS
  XML Mapfile support:        
  XSLT support:              
  EXSLT support:              

 -------------- Data Format Drivers ------- 
  ArcSDE support:            
  OGR support:               -DUSE_OGR
  GDAL support:              -DUSE_GDAL
  Oracle Spatial support:    

 -------------- OGC Services -------------- 
  WMS Server:                -DUSE_WMS_SVR
  WMS Client:                -DUSE_WMS_LYR
  WFS Server:                -DUSE_WFS_SVR
  WFS Client:                -DUSE_WFS_LYR
  WCS Server:                -DUSE_WCS_SVR
  SOS Server:                -DUSE_SOS_SVR

 -------------- MapScript ----------------- 
  PHP MapScript:             yes

Any hint?

thank you!


View this message in context: http://osgeo-org.1560.n6.nabble.com/Mapserver-6-0-2-libgdal-so-shp2img-Error-1-tp4489060p4489060.html
Sent from the Mapserver - Dev mailing list archive at Nabble.com.

More information about the mapserver-dev mailing list