a problem in make

Frank Warmerdam fwarmerdam at GMAIL.COM
Mon Apr 18 10:11:50 EDT 2005


On 4/18/05, orkun <temiz at deprem.gov.tr> wrote:
> hello
> 
> in make:
> 
> /usr/local/gdal-1.2.6/libgdal.la: file not recognized: File format not
> recognized
> collect2: ld returned 1 exit status
> make: *** [shp2img] Error 1
> 
> what can I do to solve this problem

Ahmet, 

It would appear the libtool library is being picked up for some reason.
I would be interested to see what your "gdal-config --libs" returns. 

In the meantime, you can likely hand edit your Makefile for MapServer
and change the GDAL_LIB= line to read:

GDAL_LIB=-L/usr/local/lib -lgdal

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the mapserver-users mailing list