From: Christoph Bussenius <busseniu@cip.physik.uni-muenchen.de>
To: Henry Margies <henry.margies@gmx.de>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: setenv and dlopen
Date: Tue, 25 Oct 2005 20:20:07 +0200 [thread overview]
Message-ID: <20051025182007.GC6673@opaque.pepe> (raw)
In-Reply-To: <1130262724.7414.14.camel@localhost.localdomain>
On Tue, Oct 25, 2005 at 07:52:04PM +0200, Henry Margies wrote:
> Hi all,
Hi Henry,
> I have a problem using dlopen and setting the LD_LIBRARY_PATH with
> putenv or setenv.
I think this is because putenv does not really modify your process'es
environment (which is not possible afaik), but rather remembers the
given variable until you call some exec* function. libc will then pass
the new environment to execve so that the new program will have the
modified environment.
Regards,
Christoph
--
``There's no dark side of the moon, really
Matter of fact, it's all dark''
--Pink Floyd
next prev parent reply other threads:[~2005-10-25 18:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-25 17:52 setenv and dlopen Henry Margies
2005-10-25 18:20 ` Christoph Bussenius [this message]
2005-10-26 8:21 ` Henry Margies
2005-10-26 14:46 ` Glynn Clements
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051025182007.GC6673@opaque.pepe \
--to=busseniu@cip.physik.uni-muenchen.de \
--cc=henry.margies@gmx.de \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.