[Mapserver-users] SunONE chokes on template file

Martin Weinelt mweinelt at planiglobe.com
Thu Aug 14 05:12:57 EDT 2003


Jean-Francois.Doyon wrote:
>
> If you have 4.0, you can use -QUERY_STRING="map=..." (Or is it -QUERYSTRING
> ?) as an option to the executable form the command line.  With the proper
> query string, you can get mapserver to go through the template parsing, and
> see if it dies there too.
>
> Doesn't provide a solution, but might help find the cause ...
>
> Hope this helps ...
>

I have now compiled (gcc 2.95.3)  and installed 4.0 at the site (SunOS 5.9 
Generic_112233-05 sun4u sparc SUNW,Sun-Fire-880): 

./configure  --prefix=/somedir/mapserver/local 
--with-zlib=/somedir/mapserver/packages/zlib 
--with-gd=/somedir/mapserver/packages/gd-2.0.15 
--enable-runpath --with-threads 
--enable-internal-ld-detect --without-gdal
--with-png=/somedir/mapserver/local/bin/libpng12-config 
--with-tiff=../tiff-v3.6.0-beta --with-proj=../proj-4.4.7 
--with-jpeg=../jpeg-6b --with-freetype=../../local/bin/freetype-config

The need for a script adding LD_LIBRARY_PATH was gone with the  
--enable-runpath option. 

If I now use "./mapserv QUERY_STRING=..." on the command-line as suggested by 
Jean-Francois I get a Segmentation fault. So I guess the SunONE server has 
nothing to do with the problems. Maybe still a problem in conflicting libs.

ldd mapserv
        libgd.so.2 =>    /somedir/mapserver/local/lib/libgd.so.2
        libfreetype.so.6 =>      /somedir/mapserver/local/lib/libfreetype.so.6
        libpng.so.2 =>   /somedir/mapserver/local/lib/libpng.so.2
        libXpm.so.4 =>   /opt/sfw/lib/libXpm.so.4
        libX11.so.4 =>   /usr/openwin/lib/libX11.so.4
        libtiff.so =>    /somedir/mapserver/local/lib/libtiff.so
        libproj.so.0 =>  /somedir/mapserver/local/lib/libproj.so.0
        libpthread.so.1 =>       /usr/lib/libpthread.so.1
        libm.so.1 =>     /usr/lib/libm.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libpng.so.3 =>   /somedir/mapserver/local/lib/libpng.so.3
        libz.so.1 =>     /usr/lib/libz.so.1
        libXext.so.0 =>  /usr/openwin/lib/libXext.so.0
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        libthread.so.1 =>        /usr/lib/libthread.so.1
        librt.so.1 =>    /usr/lib/librt.so.1
        libaio.so.1 =>   /usr/lib/libaio.so.1
        libmd5.so.1 =>   /usr/lib/libmd5.so.1
        /usr/platform/SUNW,Sun-Fire-880/lib/libc_psr.so.1
        /usr/platform/SUNW,Sun-Fire-880/lib/libmd5_psr.so.1

Does anyone had similar problems ( and a tip ) or can comment?

Thanks, Martin




More information about the mapserver-users mailing list