From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 23:37:24 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 7AC2F16A407 for ; Tue, 6 Mar 2007 23:37:24 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62204.mail.re1.yahoo.com (web62204.mail.re1.yahoo.com [69.147.75.3]) by mx1.freebsd.org (Postfix) with SMTP id 2F5E513C478 for ; Tue, 6 Mar 2007 23:37:24 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 4839 invoked by uid 60001); 6 Mar 2007 23:37:23 -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=Rpm1mdpcQM1nuPU3y71LVAeAzzqsvXJHXCTXmSuwiPiE3WNj2sWQkjvbe87ACtpGHtt7quQFVF1xfCeLG+pNav96M4UVTwjfRu6t4bsSpAR/fSZkyvr6PNL0KOPuQlZt+bpi5tggnaEelsZsaWOj0kBb1wBRJzLhFROWlKz5eac=; X-YMail-OSG: bjmOOAwVM1kiQK.ujNPAUbNt7uyb9jYnZpheE1I_LDAu6iMhsmk.zwsaySgdZfLZkBi3h.2MEuALRZXwGXxru98AHqV.zDUpC2HyXAoCc3LrGfhtgauq0jxa_h_j5GzxEJSp Received: from [67.46.93.3] by web62204.mail.re1.yahoo.com via HTTP; Tue, 06 Mar 2007 15:37:23 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Tue, 6 Mar 2007 15:37:23 -0800 (PST) From: Drew Jenkins To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <490012.3649.qm@web62204.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: Tue, 06 Mar 2007 23:37:24 -0000 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 =0ATo: Drew Jenkins =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