Setting Env

Drew Jenkins drewjenkinsjr at
Tue Mar 6 19:21:20 UTC 2007

For some reason, I need to run this:

setenv LD_LIBRARY_PATH /usr/local/lib/mysql/

to get my Zope instances up and running. I'm trying to figure out how to automate that. I wrote a little script:

setenv LD_LIBRARY_PATH /usr/local/lib/mysql/

and put it here:

chmod +x /usr/local/etc/rc.d/mysql_setenv

I can run that little script with no errors. However, it *doesn't* set the environment!

# echo $shell
# csh

What gives?

Looking for earth-friendly autos? 
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.

More information about the freebsd-questions mailing list