Setting Env
Drew Jenkins
drewjenkinsjr at yahoo.com
Wed Mar 7 08:07:07 UTC 2007
----- Original Message ----
From: Garrett Cooper <youshi10 at u.washington.edu>
To: freebsd-questions at freebsd.org
Sent: Wednesday, March 7, 2007 1:02:01 AM
Subject: Re: Setting Env
Drew Jenkins wrote:
>LD_LIBRARY_PATH=/usr/local/lib/mysql/ not work for you?
>Why not source environment variables from an outside script / rc-file?
>It's better / smarter in the long run, IMHO.
Sounds great. Again, as I wrote in my last post, I don't know *exactly* what command needs to be entered!! I have tried this in the /etc/rc.conf file:
setenv LD_LIBRARY_PATH /usr/local/lib/mysql/
--or--
export LD_LIBRARY_PATH="/usr/local/lib/mysql/"
--or--
LD_LIBRARY_PATH=/usr/local/lib/mysql/
none of which work. I have tried creating a script and chmod +x in the /usr/local/etc/rc.d folder:
#!/bin/csh
setenv LD_LIBRARY_PATH /usr/local/lib/mysql/
and that doesn't work, either. Would it be okay if I asked anyone out there to tell me *exactly* what I need to do to get this to be set on startup??
TIA.
Drew
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121
More information about the freebsd-questions
mailing list