Date: Tue, 6 Mar 2007 15:37:23 -0800 (PST) From: Drew Jenkins <drewjenkinsjr@yahoo.com> To: freebsd-questions@freebsd.org Subject: Re: Setting Env Message-ID: <490012.3649.qm@web62204.mail.re1.yahoo.com>
next in thread | raw e-mail | index | archive | help
Don Hinton wrote:=0A=0A># ldconfig -aout -f /etc/ld.so.conf /usr/local/lib/= mysql/=0A>=0A>will create it for you. man ldconfig for more info...=0A=0AW= ell, that created a binary, but when I rebooted...nothing. Same problem :(= =0A=0A----- Original Message ----=0AFrom: Jerry McAllister <jerrymc@msu.edu= >=0ATo: Drew Jenkins <drewjenkinsjr@yahoo.com>=0ACc: freebsd-questions@free= bsd.org=0ASent: Tuesday, March 6, 2007 6:31:34 PM=0ASubject: Re: Setting En= v=0A=0A>I don't know for sure what you mean That's not an option. Is this= =0A>running from cron or at system bootup or something so there is no login= =0A>involved?=0A=0ACorrect=0A=0A>In those cases, it is well documented that= your scripts have to be=0A>completely responsible for their environments a= nd paths, etc. So,=0A>set everything within the scipt. Or, if it is some= thing systemwide,=0A>then put setting the variable it in /etc/rc.conf or /e= tc/rc.conf.local if=0A>you let your system have one.=0A=0AExactly. But how?= I could write a script like I did before:=0A=0A#!/bin/csh=0Asetenv LD_LIBR= ARY_PATH /usr/local/lib/mysql/=0A=0A(chmod +x) but that didn't execute, dun= no why. But then how do I call that script? What shell does /etc/rc.conf us= e?=0ATIA,=0ADrew=0A=0A=0A=0A=0A=0A=0A =0A__________________________________= __________________________________________________=0AWe won't tell. Get mor= e on shows you hate to love =0A(and love to hate): Yahoo! TV's Guilty Pleas= ures list.=0Ahttp://tv.yahoo.com/collections/265
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?490012.3649.qm>