[Mapserver-users] tip for frustrated debianers
Till Adams
adams at terrestris.de
Sun Aug 24 23:50:37 PDT 2003
Dear list,
we just want to post the answer to our question we've posted friday
afternoon (see below):
We thought it has to do with some libraries which are not found. So we
ran "path-to-cgi/cgi-bin/ldd mapserv" and looked at the pathes to the
linked libraries - most of them pointed to "/usr/lib" or /lib".
So we added "/usr/lib" and "/lib" to the file "/etc/ld.so.conf" and run
"/sbin/ldconfig" but nothing happended. Somewhere on this brillant list
we found a hint from Daniel Morissette to add "/usr/local/bin" although
there are definetely no libaries linked to.
Anyway: We added the path "/usr/local/bin" to ld.so.conf and reran
"/sbin/ldconfig" and now everything works fine ...
;-) good start for a monday morning...
Till & Ben & Lars
> Dear list,
>
> we have just setup our new machine with DebianWoody. Compiling the
> mapserver (after seeing that we have to apt the dev-versions of all
> libs) was great fun - it took about 10 minutes :-) Never did this
> before in that time.
>
> Copying the mapserv-binary to the /cgi-bin and make the test
> "<myURL>/cgi-bin/mapserv" works fine. Also the mapserv -v on the command
> line works fine. But not when running a mapserv-application. The apache
> error log says "Premature end of... blablabla"
>
> I searched the archive and found 443 threads with "premature" and I'm
> sure I tried everything >>> editing ld.so.conf (adding /usr + /usr/lib +
> /usr/local/lib, /lib, ...), running ldconfig, adding
> SetEnv LD_LIBRARY_PATH "/usr/local/lib" (and the rest)
> PassEnv LD_LIBRARY_PATH
>
> to my httpd.conf, making sure that mod_env is loaded and my image-temp
> paths are correct, drinking beer, whisky and wine ... I HAVE NO MORE
> IDEAS !!!!
>
> Please help me otherwise I'll kick this brandnew machine out of our
> office!!!!!
>
> Thanks in advance,
> Till & Ben & Lars
More information about the MapServer-users
mailing list