This is the mail archive of the
mailing list for the glibc project.
Runtime change to LD_LIBRARY_PATH
- To: "'libc-alpha at sources dot redhat dot com'" <libc-alpha at sources dot redhat dot com>
- Subject: Runtime change to LD_LIBRARY_PATH
- From: Ed Connell <Ed dot Connell at sas dot com>
- Date: Fri, 17 Aug 2001 14:31:39 -0400
I noticed that if you set LD_LIBRARY_PATH after your program
is running, ld.so does not take that into account when trying
to resolve future dlopen's. (_dl_init_paths() sets
env_path_list while ld.so is initializing and it is left
alone after that.) It would be easy to check LD_LIBRARY_PATH
for changes each time you want to map a new object. Would
that be rational change to make? I'll code it up if people
like the idea.