New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DynaLoader behavior w.r.t. LD_LIBRARY_PATH confuses me #1200
Comments
From joseph@cscaper.comCreated by joseph@5sigma.comDynaLoader on solaris 7 seems to ignore libpth and follow LD_LIBRARY_PATH push(@dl_library_path, split(' ', '/usr/local/lib /lib /usr/lib')); Nevertheless, libz.so was never found unless LD_LIBRARY_PATH was set. I BEGIN { $ENV{LD_LIBRARY_PATH} = "/usr/local/lib" } for example, but that didn't seem to have any effect. I must be missing something here. Is there a way other than LD_LIBRARY_PATH Do @dl_library_path and/or libpth have ANYTHING to do with how DynaLoader (Please reply via email--was dropped from p5p a while ago when I had -joseph -- Perl Info
|
From [Unknown Contact. See original ticket]joseph@cscaper.com [joseph@cscaper.com] quoth: I don't think this is a bug as I've seen this behaviour before...From the "@dl_library_path The standard/default list of directories in which @dl_library_path is initialised to hold the list of 'normal' @dl_library_path should also be initialised with any other After initialisation @dl_library_path can be manipulated by The load function that dl_load_file() calls may require an Also, I've seen; But this was after I built a new version of mySQL and forgot to compile it So, it would appear to be a 'feature' with mySQL. e. |
From [Unknown Contact. See original ticket]Elaine -HFB- Ashton writes:
To make the long story short: @dl_library_path is used *by Perl* to Thus during to loading of this "chained" DLLs the value of Ilya |
From [Unknown Contact. See original ticket]How did you wind up replying to joseph@cscaper.com? As I recall, I (Obviously, mail to joseph@cscaper.com gets a bounce message and -joseph -- On Mon, 21 Feb 2000 13:32:50 -0600 elaine@chaos.wustl.edu (Elaine -HFB- Ashton) * Return-Path: <elaine@history.perl.org> |
From [Unknown Contact. See original ticket]On Mon, 21 Feb 2000 15:04:18 -0500 (EST) ilya@math.ohio-state.edu (Ilya * To make the long story short: @dl_library_path is used *by Perl* to That's clear enough, I guess, although it doesn't work "right" as Why does changing $ENV{LD_LIBRARY_PATH} appear to have no effect? Would it make sense for DynaLoader to alter LD_LIBRARY_PATH to -joseph -- |
From [Unknown Contact. See original ticket]On Tue, Feb 22, 2000 at 12:37:41PM -0700, Joseph N. Hall wrote:
How could it have an effect? I would think environ structures are
If this is possible (yes on OS/2, but not via environment): should I think this is opening a larger can of worm than what we do now. Ilya |
From [Unknown Contact. See original ticket]Joseph N . Hall <joseph@5sigma.com> writes:
Perhaps because it is ignored for setuid programs.
Not really dlopen() DynaLoader does not really work that way, and as On solaris and other SVR4 derived things extensions are supposed to be Running 'ldd' on the loadables should show whether the LD_RUN_PATH -- |
From [Unknown Contact. See original ticket](CC to Tim Bunce and developer@lists.mysql.com) (To summarize, DBD::mysql was failing when run with a I guess that is either a DBI or MySQL issue then. I attempted to By the way, the program in question was not running setuid. It -joseph -- On Tue, 22 Feb 2000 20:56:06 +0000 nick@ing-simmons.net (Nick Ing-Simmons) * Joseph N . Hall <joseph@5sigma.com> writes: |
From [Unknown Contact. See original ticket]Joseph N . Hall <joseph@5sigma.com> writes:
Oh _that_ feature - ld.so read LD_LIBRARY_PATH when execuable starts -- |
Migrated from rt.perl.org#2170 (status was 'open')
Searchable as RT2170$
The text was updated successfully, but these errors were encountered: