Re: Problem using LD_LIBRARY_PATH in perl script
nobull_at_mail.com
Date: 11/25/03
- Next message: JEB: "Regex Question"
- Previous message: Eric J. Roode: "Re: Regexp issue . . ."
- In reply to: Christian Eriksson: "Problem using LD_LIBRARY_PATH in perl script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 25 Nov 2003 09:53:31 -0800
c-eriks@algonet.se (Christian Eriksson) wrote in message news:<d0d6f67c.0311241452.785fbbac@posting.google.com>...
> I have a problem using the environment variable LD_LIBRARY_PATH in my
> perl script. Everything works fine when I set it at the command prompt
[ but if one...]
> ...instead adds a row setting LD_LIBRARY_PATH in the perl script
> Perhaps a required shared library or dll isn't installed where
> expected
> Why does this happen?
When you set $ENV{LD_LIBRARY_PATH} do you do so before (that's
cronologically before, not lexically before) you try to load the
library? (Remember the Perl use() is compile-time).
IIRC on some platforms I think LD_LIBRARY_PATH is read from the
environment as the program loads and subsequent changes are ignored.
> This is perl, v5.6.1 built for sun4-solaris
I vaguely recall Solaris is such a platform.
This newsgroup does not exist (see FAQ). Please do not start threads
here.
- Next message: JEB: "Regex Question"
- Previous message: Eric J. Roode: "Re: Regexp issue . . ."
- In reply to: Christian Eriksson: "Problem using LD_LIBRARY_PATH in perl script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|