[mapserver-users] LD_LIBRARY_PATH

Stephen Woodbridge woodbri at swoodbridge.com
Mon Dec 24 12:08:16 EST 2001


XSun,

You may need to first add:
   AddModule mod_env
to your httpd.conf file, then see if it will recognize SetEnv and
PassEnv, if it still does not recognize them, then you will probably
need to recompile the source and enable the modules.

-Steve

XSun at odu.edu wrote:
> 
> Hello Steve and all other friends,
> 
> After read all the articles in the list about the LD_LIBRARY_PATH problem.
> I am still puzzled with one problem.  which file should I modify to add the
> following lines.
> 
> SetEnv LD_LIBRARY_PATH "/usr/local/lib"
> PassEnv LD_LIBRARY_PATH
> 
> I tried to add to .cshrc file.  But It can not acknowledge "PassENV"
> command.
> I tried to add to httpd.conf.  "SetEnv" is not valid command.  By the way ,
> my apache server is now a binary installation.  I download the source code
> , and read the source file of mod_env.c ,  But I didnot know if I should
> modify it and how to modify?
> 
> Which files should I modify?    .cshrc  ? httpd.conf?  mod_env.c?
> 
> Can someone give me some hint about it?
> 
> Thanks a lot.
> 
> Have a great holiday and merry christmas to all in the lists!
> 
> XSun



More information about the mapserver-users mailing list