Thanks Roger Installing libogdi3.2-dev certainly solved the first issue, then I had a problem with libpam, installing the -dev package solved that issue, so now I succesfully compiled an installed mapserver!<br>Thanks a lot for your help.<br>

Regards<br>P<br><br><div class="gmail_quote">On Thu, May 13, 2010 at 8:14 PM, Roger André <span dir="ltr"><<a href="mailto:randre@gmail.com">randre@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Try installing the following ogdi packages with apt-get:<br><br>libogdi3.2 - Open Geographic Datastore Interface Library -- library<br>libogdi3.2-dev - Open Geographic Datastore Interface Library -- development<br>ogdi-bin - Open Geographic Datastore Interface Library -- utilities<br>


<br>No idea if that will do the trick though.  I've never seen that particular error before.<br><br>Roger<br><font color="#888888">--<br><br></font><div class="gmail_quote"><div><div></div><div class="h5">On Wed, May 12, 2010 at 11:36 AM, pablo lopez <span dir="ltr"><<a href="mailto:plablo09@gmail.com" target="_blank">plablo09@gmail.com</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">Hi List, Im building mapserver 5.6.3 on a ubuntu box. The config script I'm using is:<br>


./configure     --prefix=/usr \<br>        --with-ogr=/usr/bin/gdal-config \<br>                --with-gdal=/usr/bin/gdal-config \<br>

                --with-httpd=/usr/sbin/apache2 \<br>                --with-wfsclient \<br>        --with-fribidi \<br>                --with-wmsclient \<br>        --with-wfs \<br>        --with-pdf \<br>                --enable-debug \<br>




                --with-curl-config=/usr/bin/curl-config \<br>                --with-proj=/usr \<br>                --with-tiff \<br>                --with-gd \<br>                --with-jpeg \<br>        --with-png=/usr/lib \<br>




                --with-freetype=/usr/lib \<br>                --with-threads \<br>                --with-wcs \<br>                --with-postgis=/usr/bin/pg_config \<br>                --with-geos=/usr/bin/geos-config \<br>




                --with-libiconv=/usr/lib \<br>        --with-php=/usr/include/php5 \<br>                --with-agg<br><br><br> The config output is:<br><br>MapServer is now configured for <br><br> -------------- Compiler Info ------------- <br>




  C compiler:                gcc -g  -fPIC -Wall  <br>  C++ compiler:              g++ -g  -fPIC -Wall  <br>  Debug:                     -g <br>  Generic NINT:              <br><br> -------------- Renderer Settings --------- <br>




  OpenGL support:            <br>  zlib support:              -DUSE_ZLIB<br>  png support:               <br>  palette rgba png support:  <br>  jpeg support:              <br>  iconv support:             -DUSE_ICONV<br>  AGG support:               -DUSE_AGG<br>




  Cairo (SVG,PDF) support:   <br>  Ming(flash) support:       <br>  PDFLib support:            -DUSE_PDF<br><br> -------------- Support Libraries --------- <br>  Proj.4 support:            -DUSE_PROJ<br>  Libxml2 support:           -DUSE_LIBXML2<br>




  FriBidi support:           <br>  Curl support:              -DUSE_CURL<br>  FastCGI support:           <br>  Threading support:         -DUSE_THREAD<br>  GEOS support:              -DUSE_GEOS -DGEOS_HAS_SIMPLIFY<br><br>




 -------------- Data Format Drivers ------- <br>  native tiff support:       -DUSE_TIFF<br>  PostGIS support:           -DUSE_POSTGIS<br>  EPPL7 support:             -DUSE_EPPL<br>  ArcSDE support:            <br>  OGR support:               -DUSE_OGR<br>




  GDAL support:              -DUSE_GDAL<br>  Oracle Spatial support:    <br><br> -------------- OGC Services -------------- <br>  WMS Server:                -DUSE_WMS_SVR<br>  WMS Client:                -DUSE_WMS_LYR<br>



  WFS Server:                -DUSE_WFS_SVR<br>
  WFS Client:                -DUSE_WMS_LYR<br>  WCS Server:                -DUSE_WCS_SVR<br>  SOS Server:                <br><br> -------------- MapScript ----------------- <br>  PHP MapScript:             yes<br><br><br>




Now, when i run make, it ends up with the following error:<br><br>shp2img.c:33: warning: ‘cvsid_aw’ defined but not used<br>g++ -g  -fPIC -Wall     -DHAVE_VSNPRINTF -DNEED_STRLCAT -DNEED_STRRSTR        -DUSE_WMS_LYR -DUSE_WFS_LYR  -DUSE_LIBXML2 -DUSE_CURL -DUSE_WCS_SVR -DUSE_WFS_SVR -DUSE_WMS_SVR    -DUSE_POSTGIS -DUSE_TIFF -DUSE_GDAL -DUSE_OGR -DUSE_GEOS -DGEOS_HAS_SIMPLIFY  -DUSE_THREAD -DUSE_PROJ -DUSE_EPPL  -DUSE_AGG   -DUSE_PDF  -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DUSE_ICONV -DUSE_ZLIB     -I/usr/include -I/usr/include/freetype2    -I/usr/include     -I/usr/include/gdal -I/usr/include/postgresql     -I/usr/include    -I/usr/include/libxml2   shp2img.o  -L. -lmapserver -lgd -L/usr/lib64 -lgd -ljpeg -L/usr/lib -lfreetype -L/usr/lib -lpng -lz -lXpm -lX11     -lpdf -ltiff -ljpeg -L/usr/lib -lfreetype -L/usr/lib -lpng -lz -lXpm -lX11  -L/usr/lib64 -lproj -ljpeg -L/usr/lib -lpng  -L/usr/lib -lgdal1.6.0 -L/usr/lib -lgeos_c -I/usr/include -lsqlite3 -lodbc -lodbcinst -L/usr/lib -lexpat -L/usr/lib -lxerces-c -lpthread -ljasper -lhdf5 -lmfhdf -ldf -logdi -lgif -ljpeg -lpng -lnetcdf -lpq -L/usr/lib -lpq -lz -lpthread -lm -lrt -ldl -lcurl -Wl,-Bsymbolic-functions -rdynamic -L/usr/lib/mysql -lmysqlclient  -L/usr/lib -lpq -lpgport -lxslt -lxml2 -lpam -lssl -lcrypto -lkrb5 -lcom_err -lgssapi_krb5 -lz -lreadline -lcrypt -ldl -lm   -lcurl  -L/usr/lib -lgeos_c -lpthread -L -lc  -lz -lxml2  -lm -lstdc++    -o shp2img<br>




/usr/bin/ld: cannot find -logdi<br>collect2: ld returned 1 exit status<br>make: *** [shp2img] Error 1<br><br><br>I'm lost here, any help is appreciated<br>Thanks<br><font color="#888888">Pablo<br>
</font><br></div></div><div class="im">_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></div></blockquote></div><br>
</blockquote></div><br>