Configureing mapserver in someone else server {Scanned} {Scanned}

Norman Barker nbarker at ITTVIS.COM
Tue Nov 7 11:56:38 EST 2006


Hi,

Create a shell script in the CGI-BIN directory that in turn calls mapserver this will allow you to configure the path variables for the process that gets executed so that MapServer can find its dependencies.

More here - http://mapserver.gis.umn.edu/docs/howto/cgi-wrapper-script

As you say this is shared hosting the I guess you can't set the path in httpd.conf which is what I sometimes do, so try export LD_LIBRARY_PATH=/var/www/cgi-bin:$LD_LIBRARY_PATH
in the script.

(sorry - meant to send this to the list not just Zoltan!!)

Norman

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Siki Zoltan
Sent: 07 November 2006 19:26
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] Configureing mapserver in someone else server {Scanned} {Scanned}

Hi,

The behavior of windows and linux different. Windows looking for dll-s in 
the current directory then in the system directories.
Linux uses LD_LIBRARY_PATH or /etc/ld.so.conf for the directories to 
search for .so files. 

Zoltan

On Tue, 7 Nov 2006, Pedro Meneses wrote:

> 
> Hello to the list
> I'm trying to use mapserver as cgi in two hired web hostings . 
> In windows based server I put the following in cgi-bin directory:
>  
>     libcurl.dll
>     libpq.dll
>     NCScnet.dll
>     NSCEcw.dll
>     NSCEcwC.dll
>     NSCEUtil.dll
>     xerces-c_1_6_0.dll
>     zlib1.dll
>     mapserv.exe
> 
> and everything goes OK
> 
> 
> In the other side, in linux based server when I put in cgi-bin directory the following :
>     
>     libc-2.3.2.so 
>     libcurl.so.3.0.0 
>     libfreetype.so.6.3.5 
>     libgc.so.1.0.2 
>     libgdal.so.1.7.0 
>     libidn.so.11.5.6 
>     libjpeg.so.62.0.0 
>     libpng12.so.0.1.2.8 
>     libpq.so.3.1 
>     libproj.so.0.5.0 
>     libssl.so.0.9.7 
>     libxerces-c.so.26.0 
>     mapserv 
> 
> it does not work. What I'm missing here?
> Thanks in advance
> Pedro 
> ______________________________
> Visita http://www.tutopia.com y comienza a navegar más rápido en Internet. Tutopia es Internet para todos.
> 



More information about the mapserver-users mailing list