From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aurelien Chanudet Newsgroups: gmane.lisp.guile.user Subject: Re: setting env variable from Guile Date: Fri, 29 Jul 2005 17:32:47 +0200 Message-ID: <45e3b282050729083211575301@mail.gmail.com> References: <45e3b2820507280855788f321@mail.gmail.com> <20050729142904.GA3862@igbt.sel.eesc.usp.br> Reply-To: Aurelien Chanudet NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1122651563 8451 80.91.229.2 (29 Jul 2005 15:39:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Jul 2005 15:39:23 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Jul 29 17:39:15 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DyWwk-0003PA-01 for guile-user@m.gmane.org; Fri, 29 Jul 2005 17:38:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DyWzF-0002rn-6a for guile-user@m.gmane.org; Fri, 29 Jul 2005 11:41:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DyWu6-0007lD-8i for guile-user@gnu.org; Fri, 29 Jul 2005 11:36:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DyWu4-0007kT-HG for guile-user@gnu.org; Fri, 29 Jul 2005 11:36:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DyWu4-0007kM-AO for guile-user@gnu.org; Fri, 29 Jul 2005 11:36:04 -0400 Original-Received: from [64.233.162.200] (helo=zproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DyX2k-0005gK-SN for guile-user@gnu.org; Fri, 29 Jul 2005 11:45:02 -0400 Original-Received: by zproxy.gmail.com with SMTP id v1so503417nzb for ; Fri, 29 Jul 2005 08:33:12 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gdVNgzuBb8KPcFeUG6qwjR1PCECwbedgDwXv/kKK0xUPMlzkuIr6N83U6NlNiEMQxYFt+LD1c4FmrT+nscIKr33f+WyMZCDmqfsma3ZYz4XDACgJEUosz8iGlUkibwYl3sKVtqISvselkwP9IO5PTv1/BM2F/v1caP3jrXEFBUg= Original-Received: by 10.36.37.12 with SMTP id k12mr2807365nzk; Fri, 29 Jul 2005 08:32:47 -0700 (PDT) Original-Received: by 10.36.126.20 with HTTP; Fri, 29 Jul 2005 08:32:47 -0700 (PDT) Original-To: =?ISO-8859-1?Q?Jos=E9_Roberto_B=2E_de_A=2E_Monteiro?= In-Reply-To: <20050729142904.GA3862@igbt.sel.eesc.usp.br> Content-Disposition: inline X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:4661 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:4661 Thank you guys for the tip. Unfortunately, the environnement variable set in this way doesn't appear to be visible from the shell guile was launched from. As a result, the environnement variable does not appear to be visible to the dynamic link editor. On 7/29/05, Jos=E9 Roberto B. de A. Monteiro = wrote: > On Thu, Jul 28, 2005 at 05:55:59PM +0200, Aurelien Chanudet wrote: > > Hi all, > > > > I have a dynamic library located in a non standard > > place I'd like to load within guile using > > "dynamic-link". The dynamic link editor can be told > > where to look for the library using an environment > > variable. Is there a way to set up the environnement > > variable directly _from_ Guile using for instance the > > "system" primitive ? >=20 > Have you ever tried to use Guile primitive function setenv ? >=20 > (setenv name value) >=20 >=20 > _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user