[mapserver-users] Compile problem

Miroslav Sodja miroslav.sodja at gov.si
Tue Sep 17 06:50:01 PDT 2002


I compiled (in fact my webmaster did that) mapserv on linux with:

[user at host user]$ ./configure --without-jpeg --without-eppl
[user at host user]$ make

When I try to run mapserv:

[user at host user]$ ./mapserv
This script can only be used to decode from result and should be
innitiated as a CGI process via a httpd server.

I try included library:

[user at host user]$ ldd mapserv
        libgd.so => /usr/lib/libgd.so (0x4001a000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40071000)
        libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x4008f000)
        libpng.so.3 => /usr/lib/libpng.so.3 (0x400d3000)
        libz.so.1 => /usr/lib/libz.so.1 (0x400fe000)
        libpdf.so.1 => /usr/local/lib/libpdf.so.1 (0x4010d000)
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0x4019e000)
        libm.so.6 => /lib/libm.so.6 (0x401df000)
        libc.so.6 => /lib/libc.so.6 (0x40200000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Everything looks fine, but when I run browser like
http://www.go2ing.com/cgi-bin/mapserv the result is not

"No query information to decode. QUERY_STRING is set, but empty."

The result is very confused and looks like:
ELF!4°P4 (
44?4?AAôô?ô???~~? 
¤oe
°"° °  /lib/ld-linux.so.2

Any idea?

Thank you,

Miro Sodja
e-mail: miroslav.sodja at gov.si






More information about the MapServer-users mailing list