Thanks everybody for the help. The problem was the two conflicting versions of gdal in /usr and /usr/local . By removing the ubuntu "libgdal1c2" package, I was able to compile mapserver fine. Of course removing the packaged ubunut gdal libs means you can't use the qgis, thuban or grass packages so these must be compiled against the local gdal as well.
sudo apt-get build-dep mapserver sudo apt-get install flex bison ./configure --with-tiff --with-jpeg --with-png --with-freetype --with-zlib --with-threads --with-proj --with-gdal=/usr/local/bin/gdal-config --with-wcs --with-ogr --with-wmsclient --with-wfsclient --without-pdf --with-geos --enable-debug make sudo make install Thanks again, On 1/16/06, Matthew Perry <[EMAIL PROTECTED]> wrote: > Frank, > > On 1/16/06, Frank Warmerdam <[EMAIL PROTECTED]> wrote: > > > > Of course it is possible to differentiate, but it can be > > pretty tricky. And I don't know the details of how > > things get installed on Ubuntu, or how you built things > > for the /usr/local install. > > ... > > What does "ldd /usr/bin/gdalinfo" report? > > > > Ahhh. This might be a problem.. > > libgdal.so.1 => /usr/local/lib/libgdal.so.1 (0xb7beb000) > > So the /usr version is looking to the /usr/local libs. I'm doing all > the library paths through ld.so.conf. You're right... this will get > tricky! > > I'm thinking that removing the /usr version of gdal is probably the > best bet since ideally I'd like all my apps running off the /usr/local > version anyways. I'll go this route for now. > -- > Matt Perry > [EMAIL PROTECTED] > http://www.perrygeo.net >
