From owner-freebsd-questions@FreeBSD.ORG Wed Mar 7 14:27:08 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2221316A404 for ; Wed, 7 Mar 2007 14:27:08 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62205.mail.re1.yahoo.com (web62205.mail.re1.yahoo.com [69.147.75.4]) by mx1.freebsd.org (Postfix) with SMTP id D6E7C13C4A6 for ; Wed, 7 Mar 2007 14:27:07 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 67019 invoked by uid 60001); 7 Mar 2007 14:27:07 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=y689D11sXyPZs9UbG9K1pljQ3ElxdPhrK3wJTmrER+oclTdJh52ZA+aYJF4JMM8rUS6ykFALg9p9MoMneYjeQufNLtIKStHcobvJAv7EDAp22I/nruVPEIpjEjP0QlYf1FJ8mgmYz83No1EDmnZpxFVyy+MJYLcJ6RUThedMNK0=; X-YMail-OSG: 4WkzEoAVM1lZKzIE9yFKo1lmp3d3ciJa6UIGIrZUrfwa7w4I5XhuY1Ta62QUJ.xR8g-- Received: from [67.46.93.3] by web62205.mail.re1.yahoo.com via HTTP; Wed, 07 Mar 2007 06:27:06 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Wed, 7 Mar 2007 06:27:06 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <984676.62893.qm@web62205.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Setting Env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 14:27:08 -0000 20----- Original Message ----=0AFrom: Garrett Cooper =0ATo: freebsd-questions@freebsd.org=0ASent: Wednesday, March 7, 2007 = 4:55:19 AM=0ASubject: Re: Setting Env=0A=0A>Drew Jenkins wrote:=0A>> ----- = Original Message ----=0A>> From: Garrett Cooper >=0A>> To: freebsd-questions@freebsd.org=0A>> Sent: Wednesday, March 7, 200= 7 1:02:01 AM=0A>> Subject: Re: Setting Env=0A>> =0A>> Drew Jenkins wrote:= =0A>> =0A>>> LD_LIBRARY_PATH=3D/usr/local/lib/mysql/ not work for you?=0A>>= =0A>>> Why not source environment variables from an outside script / rc-fi= le? =0A>>> It's better / smarter in the long run, IMHO.=0A>> =0A>> Sounds g= reat. Again, as I wrote in my last post, I don't know *exactly* what comman= d needs to be entered!! I have tried this in the /etc/rc.conf file:=0A>> = =0A>> setenv LD_LIBRARY_PATH /usr/local/lib/mysql/=0A>> --or--=0A>> export = LD_LIBRARY_PATH=3D"/usr/local/lib/mysql/"=0A>> --or--=0A>> LD_LIBRARY_PATH= =3D/usr/local/lib/mysql/=0A>> =0A>> none of which work. I have tried creati= ng a script and chmod +x in the /usr/local/etc/rc.d folder:=0A>> =0A>> #!/b= in/csh=0A>> setenv LD_LIBRARY_PATH /usr/local/lib/mysql/=0A>> =0A>> and tha= t doesn't work, either. Would it be okay if I asked anyone out there to tel= l me *exactly* what I need to do to get this to be set on startup??=0A>> TI= A.=0A>> Drew=0A>=0A>>The question is, what's failing (or not behaving as >>= expected)?=0A=0A=0A=0AI would like that line to execute upon startup. Right= now, every time I boot the machine, I have to remember to enter that seten= v command, and that's a nuisance. I would like it to be automatic.=0ATIA,= =0ADrew=0A=0A=0A=0A=0A=0A =0A______________________________________________= ______________________________________=0ANeed Mail bonding?=0AGo to the Yah= oo! Mail Q&A for great tips from Yahoo! Answers users.=0Ahttp://answers.yah= oo.com/dir/?link=3Dlist&sid=3D396546091