[Mapserver-users] 3.7 install problem

Aaron D. Hunt hunt@zedxinc.com
Fri, 9 May 2003 09:29:55 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_0027_01C3160D.8D253E40
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I am trying to install 3.7 on a linux 7.3 system. I am using the =
following config
./configure --without-tiff --with-proj --with-gdal --with-ogr =
--with-jpeg --with-php=3D/usr/local/src/php-4.2.2
I have gd 2.0.12, proj 4.4.4, and gdal 1.1.8

When I run make I get the following error


./libmap.a(mapgdal.o): In function `msGDALCleanup':
mapgdal.o(.text+0x41): undefined reference to `GDALDestroyDriverManager'
./libmap.a(mapgdal.o): In function `msSaveImageGDAL':
mapgdal.o(.text+0x4ef): undefined reference to =
`GDALSetRasterColorInterpretation'
mapgdal.o(.text+0x50c): undefined reference to =
`GDALSetRasterColorInterpretation'
mapgdal.o(.text+0x53b): undefined reference to =
`GDALSetRasterColorInterpretation'
mapgdal.o(.text+0x558): undefined reference to =
`GDALSetRasterColorInterpretation'
mapgdal.o(.text+0x575): undefined reference to =
`GDALSetRasterColorInterpretation'
./libmap.a(mapgdal.o)(.text+0x592): more undefined references to =
`GDALSetRasterColorInterpretation' follow
./libmap.a(mapogr.o): In function =
`msOGRSpatialRef2ProjectionObj(OGRSpatialReference *, projectionObj *, =
int)':
mapogr.o(.text+0xb6e): undefined reference to =
`OGRSpatialReference::IsLocal(void) const'
mapogr.o(.text+0xb8d): undefined reference to =
`OGRSpatialReference::exportToProj4(char **) const'
./libmap.a(mapdrawgdal.o): In function `msDrawRasterLayerGDAL':
mapdrawgdal.o(.text+0x1822): undefined reference to `CSLFetchBoolean'
collect2: ld returned 1 exit status
make: *** [sortshp] Error 1
make: *** Waiting for unfinished jobs....

Does anyone have any ideas?


Aaron D. Hunt

------=_NextPart_000_0027_01C3160D.8D253E40
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I am trying to install 3.7 on a linux =
7.3 system. I=20
am using the following config</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>./configure --without-tiff --with-proj =
--with-gdal=20
--with-ogr --with-jpeg =
--with-php=3D/usr/local/src/php-4.2.2</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I have gd 2.0.12, proj 4.4.4, and gdal=20
1.1.8</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>When I run make I get the following=20
error</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>./libmap.a(mapgdal.o): In function=20
`msGDALCleanup':<BR>mapgdal.o(.text+0x41): undefined reference to=20
`GDALDestroyDriverManager'<BR>./libmap.a(mapgdal.o): In function=20
`msSaveImageGDAL':<BR>mapgdal.o(.text+0x4ef): undefined reference to=20
`GDALSetRasterColorInterpretation'<BR>mapgdal.o(.text+0x50c): undefined=20
reference to =
`GDALSetRasterColorInterpretation'<BR>mapgdal.o(.text+0x53b):=20
undefined reference to=20
`GDALSetRasterColorInterpretation'<BR>mapgdal.o(.text+0x558): undefined=20
reference to =
`GDALSetRasterColorInterpretation'<BR>mapgdal.o(.text+0x575):=20
undefined reference to=20
`GDALSetRasterColorInterpretation'<BR>./libmap.a(mapgdal.o)(.text+0x592):=
 more=20
undefined references to `GDALSetRasterColorInterpretation'=20
follow<BR>./libmap.a(mapogr.o): In function=20
`msOGRSpatialRef2ProjectionObj(OGRSpatialReference *, projectionObj *,=20
int)':<BR>mapogr.o(.text+0xb6e): undefined reference to=20
`OGRSpatialReference::IsLocal(void) const'<BR>mapogr.o(.text+0xb8d): =
undefined=20
reference to `OGRSpatialReference::exportToProj4(char **)=20
const'<BR>./libmap.a(mapdrawgdal.o): In function=20
`msDrawRasterLayerGDAL':<BR>mapdrawgdal.o(.text+0x1822): undefined =
reference to=20
`CSLFetchBoolean'<BR>collect2: ld returned 1 exit status<BR>make: *** =
[sortshp]=20
Error 1<BR>make: *** Waiting for unfinished jobs....<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Does anyone have any =
ideas?</DIV></FONT>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Aaron D. =
Hunt<BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_0027_01C3160D.8D253E40--

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users