mapserver 4.2.2 compile problem on redhat as3
Aaron Steele
asteele at BERKELEY.EDU
Fri Aug 13 13:08:44 PDT 2004
hi daryl,
my gdal install procedure (if suspicious, what is a more appropriate
location...):
in /usr/local/gdal-1.2.1/
> ./configure
> make
> make install
the entire compile command string starting with gcc:
gcc -O2 -Wall -DIGNORE_MISSING_DATA -DNEED_STRLCAT -DUSE_EPPL
-DUSE_PROJ -DUSE_PROJ_API_H -DUSE_WMS_SVR -DUSE_WMS_LYR -DUSE_WFS_SVR
-DUSE_WFS_LYR -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_WBMP -DUSE_GD_FT
-DGD_HAS_GDIMAGEGIFPTR -DUSE_OGR -DUSE_GDAL -DUSE_POSTGIS
-I/usr/local/include -I/usr/local/proj-4.4.8/src
-I/usr/local/gdal-1.2.1/port -I/usr/local/gdal-1.2.1/gcore
-I/usr/local/gdal-1.2.1/alg -I/usr/local/gdal-1.2.1/ogr
-I/usr/local/gdal-1.2.1/ogr/ogrsf_frmts -I/usr/local/pgsql/include
shp2img.o -L. -lmap -lgd -L/usr/local/lib -lgd -lfreetype -lpng -lz
-lfreetype -lpng -lz -L/usr/local/proj-4.4.8/src/.libs -lproj
/usr/local/gdal-1.2.1/libgdal.la -L/usr/local/pgsql/lib -lpq -lcurl
-L/usr/kerberos/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err
-lk5crypto -lresolv -ldl -lz -L/usr/kerberos/lib -lz -lssl -lcrypto
-lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl
-lz -lz -lm -lstdc++ -o shp2img
/usr/local/gdal-1.2.1/libgdal.la: file not recognized: File format not
recognized
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1
thanks,
aaron
On Aug 13, 2004, at 12:57 PM, Daryl Herzmann wrote:
> Aaron,
>
> On Fri, 13 Aug 2004, Aaron Steele wrote:
>
>> i spoke too soon. : }
>>
>> the compile bailed out:
>>
>> -L/usr/local/pgsql/lib -lpq -lcurl -L/usr/kerberos/lib -lssl -lcrypto
>> -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz
>> -L/usr/kerberos/lib -lz -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5
>> -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lz -lm -lstdc++ -o
>> shp2img
>> /usr/local/gdal-1.2.1/libgdal.la: file not recognized: File format not
>> recognized
>> collect2: ld returned 1 exit status
>> make: *** [shp2img] Error 1
>
> A couple of things here. The gdal location looks very suspicous. How
> did
> you install GDAL? Or did you just compile there and never do a make
> install? I am not sure you want to do it that way, but if you have a
> reason....
>
> Also, please include the entire compile command starting with the gcc.
> Not everything, just the command for shp2img
>
> HTH,
> daryl
>
> --
> /**
> * Daryl Herzmann (akrherz at iastate.edu)
> * Program Assistant -- Iowa Environmental Mesonet
> * http://mesonet.agron.iastate.edu
> */
>
More information about the MapServer-users
mailing list