I just reinstalled gdal-1.8.1 using:<br>   ./configure --prefix=$HOME --with-python --with-pg=/home/david/bin/pg_config --with-ogr --with-gif=$HOME<br><br>I&#39;m still getting an error when I run &#39;make&#39; on the mapserver source file:<br>
<br>./libmapserver.a(mapogroutput.o): In function `msOGRWriteShape&#39;:<br>/home/david/src/mapserver-6.0.1/mapogroutput.c:380: undefined reference to `OGR_G_ForceToPolygon&#39;<br>/home/david/src/mapserver-6.0.1/mapogroutput.c:385: undefined reference to `OGR_G_ForceToMultiPolygon&#39;<br>
/home/david/src/mapserver-6.0.1/mapogroutput.c:390: undefined reference to `OGR_G_ForceToMultiPoint&#39;<br>/home/david/src/mapserver-6.0.1/mapogroutput.c:395: undefined reference to `OGR_G_ForceToMultiLineString&#39;<br>
./libmapserver.a(mapogroutput.o): In function `msOGRWriteFromQuery&#39;:<br>/home/david/src/mapserver-6.0.1/mapogroutput.c:979: undefined reference to `CPLCreateZip&#39;<br>/home/david/src/mapserver-6.0.1/mapogroutput.c:984: undefined reference to `CPLCreateFileInZip&#39;<br>
/home/david/src/mapserver-6.0.1/mapogroutput.c:989: undefined reference to `CPLCloseZip&#39;<br>/home/david/src/mapserver-6.0.1/mapogroutput.c:1000: undefined reference to `CPLWriteFileInZip&#39;<br>/home/david/src/mapserver-6.0.1/mapogroutput.c:1004: undefined reference to `CPLCloseFileInZip&#39;<br>
/home/david/src/mapserver-6.0.1/mapogroutput.c:1006: undefined reference to `CPLCloseZip&#39;<br>collect2: ld returned 1 exit status<br>make: *** [shp2img] Error 1 <br><br>Are there any other things I can test out?<br><br>
David<br><br><br><div class="gmail_quote">On Mon, Oct 17, 2011 at 6:18 AM, thomas bonfort <span dir="ltr">&lt;<a href="mailto:thomas.bonfort@gmail.com">thomas.bonfort@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
maybe you didn&#39;t compile gdal with --with-ogr ?<br>
<font color="#888888"><br>
--<br>
thomas<br>
</font><div><div></div><div class="h5"><br>
On Mon, Oct 17, 2011 at 12:44, David Quinn &lt;<a href="mailto:daithiquinn@gmail.com">daithiquinn@gmail.com</a>&gt; wrote:<br>
&gt; Hi Thomas,<br>
&gt;<br>
&gt; Thanks - that helped me fix the problem. I used the following options:<br>
&gt;<br>
&gt; ./configure --prefix=$HOME \<br>
&gt; --enable-debug  \<br>
&gt; --with-gd \<br>
&gt; --with-freetype --without-tiff \<br>
&gt; --with-gdal=/home/david/bin/gdal-config \<br>
&gt; --with-ogr=/home/david/bin/gdal-config \<br>
&gt; --with-proj=/home/david/src/proj-4.7.0/ \<br>
&gt; --without-pdf \<br>
&gt; --with-png=/usr/ --with-threads \<br>
&gt; --with-postgis=/home/david/bin/pg_config \<br>
&gt; --with-wfs --with-wcs --with-wmsclient --with-wfsclient \<br>
&gt; --with-php=$HOME --enable-debug \<br>
&gt; --with-geos=/home/david/bin/geos-config \<br>
&gt; --with-python \<br>
&gt; --with-gif=$HOME<br>
&gt;<br>
<br></div></div></blockquote></div>