Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Mar 2007 00:07:05 -0800 (PST)
From:      Drew Jenkins <drewjenkinsjr@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Setting Env
Message-ID:  <959079.54670.qm@web62214.mail.re1.yahoo.com>

next in thread | raw e-mail | index | archive | help
----- Original Message ----=0AFrom: Garrett Cooper <youshi10@u.washington.e=
du>=0ATo: freebsd-questions@freebsd.org=0ASent: Wednesday, March 7, 2007 1:=
02:01 AM=0ASubject: Re: Setting Env=0A=0ADrew Jenkins wrote:=0A=0A>LD_LIBRA=
RY_PATH=3D/usr/local/lib/mysql/ not work for you?=0A=0A>Why not source envi=
ronment variables from an outside script / rc-file? =0A>It's better / smart=
er in the long run, IMHO.=0A=0ASounds great. Again, as I wrote in my last p=
ost, I don't know *exactly* what command needs to be entered!! I have tried=
 this in the /etc/rc.conf file:=0A=0Asetenv LD_LIBRARY_PATH /usr/local/lib/=
mysql/=0A--or--=0Aexport LD_LIBRARY_PATH=3D"/usr/local/lib/mysql/"=0A--or--=
=0ALD_LIBRARY_PATH=3D/usr/local/lib/mysql/=0A=0Anone of which work. I have =
tried creating a script and chmod +x in the /usr/local/etc/rc.d folder:=0A=
=0A#!/bin/csh=0Asetenv LD_LIBRARY_PATH /usr/local/lib/mysql/=0A=0Aand 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??=0ATIA.=0A=
Drew=0A=0A=0A=0A=0A=0A=0A=0A =0A___________________________________________=
_________________________________________=0ABe a PS3 game guru.=0AGet your =
game face on with the latest PS3 news and previews at Yahoo! Games.=0Ahttp:=
//videogames.yahoo.com/platform?platform=3D120121



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?959079.54670.qm>