[Mapserver-users] erro : TIFFMergeFieldInfo
Daniel Morissette
dmorissette at dmsolutions.ca
Mon Feb 9 11:55:48 PST 2004
Marcela Leite wrote:
> Em Seg, 2004-02-09 às 11:18, Daniel Morissette escreveu:
>
>>Marcela Leite wrote:
>>
>>>Hi!
>>>I compiled mapserver without problems, but when I was to test using :
>>>./mapserver -v eu obtive o seguinte
>>>erro: ./mapserv: relocation error:
>>>/usr/local/lib/libgeotiff.so: undefined symbol:
>>>TIFFMergeFieldInfo
>>>
>>>Estou usando o mapserver 4.0.1
>>>esse eh o meu script de compilação :
>>>./configure --prefix=`pwd` --with-gd --with-jpeg
>>>--with-freetype --with-zlib --with-png --with-proj
>>>--with-gdal --with-ming --with-php=/usr/local/php
>>>--with-tiff --with-wmsclient
>>>--with-postgis=/usr/local/pgsql/bin/pg_config
>>>--with-pdf --with-ogr
>>>--with-oraclespatial=/opt/oracle/product/9.2.0
>>>--with-mygis
>>>
>>>I used the tiff-v3.6.0-beta with libgeotiff-1.2.1, because with others
>>>realeases I had problems of compatibility between the two. I obtained
>>>to compile all the libraries, if they anyone to know that if it deals
>>>with helps me.
>>>
>>
>>It seems that TIFFMergeFieldInfo is available only in libtiff v3.6.1 and up.
>>
>>But anyway, GDAL comes with its own built-in TIFF, so if you compile
>>with GDAL, you should disable the native MapServer TIFF support using
>>--without-tiff. That should take care of the error that you get as well.
>>
>>Daniel
>
>
>
> Hi
> I obtained to compile and this everything functioning now, for this I
> had that to compile the gdal with geotiff internal, script was thus:
>
> ./configure --with-libz --with-png --with-jpeg --with-gif --with-jasper
> --with-pg=/usr/local/pgsql/bin/pg_config --with-geotiff=internal
>
>
> thus it functioned without problems and the result that I had of
> mapserver was this:
> MapServer version 4.0.1 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF
> OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
> SUPPORTS=WMS_CLIENT INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=POSTGIS
> INPUT=ORACLESPATIAL INPUT=GDAL INPUT=SHAPEFILE
>
Great news!
BTW, you still have "INPUT=TIFF" in your MapServer options. For best
results, you should still include "--without-tiff" in your MapServer
configure options to disable the native TIFF support and go through GDAL
instead for TIFF files.
Daniel
--
------------------------------------------------------------
Daniel Morissette dmorissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the MapServer-users
mailing list