[mapserver-users] Using a mapserv wrapper script to handle libraries

Cassiel raffaele.morelli at gmail.com
Wed Mar 11 04:52:27 EDT 2009


Hi,

if you are on debian or derivative you can use

dpkg -s mapserver-bin and/or dpkg -s cgi-mapserver
to obtain dependencies.

I used apache environment variables to hide the mapfile path and serve two
different wms services with the same mapserver executable, they should do
the job in your case too... but what's the need to do this with
LD_LIBRARY_PATH & PROJ_LIB? Am I missing some thread?

regards
r


2009/3/11 Rui Gomes <ruijgomes at gmail.com>

> Hi...
>
> I have a problem with the libraries to use mapserver in a real server.
> And i find this in the web:
>
>
> > - upload mapserv executable and all the shared libraries somewhere.
> > - upload proj.4 support files (like epsg init file) somewhere
> > - create a mapserv wrapper script in the cgi-bin directory which sets
> >    environment variables pointing to various things and then executes
> >    the real mapserv binary.  Environment variables would include:
> >      LD_LIBRARY_PATH: needs to point to directory with all the .so files.
> >      PROJ_LIB: needs to point to directory with the proj support files.
> >
> > You should not need to alter the Apache configuration.  The key is
> getting
> > the required files uploaded, and the wrapper script pointing to them.
>
>
> Is this real possible?
> Where i can find a list of all the lib  needed?
>
> Thanks
>
> --
>                                      Rui Gomes
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090311/82a65755/attachment-0001.html


More information about the mapserver-users mailing list