Lines Matching full:ld_library_path
35 global ld_library_path
73 if [info exists env(LD_LIBRARY_PATH)] {
74 set orig_ld_library_path "$env(LD_LIBRARY_PATH)"
113 # It only sets SHLIB_PATH and LD_LIBRARY_PATH when it executes a
116 # On IRIX 6, we have to set variables akin to LD_LIBRARY_PATH, but
121 # of LD_LIBRARY_PATH, and in other cases LD_LIBRARY_PATH is used if the
124 # Doing this is somewhat of a hack as ld_library_path gets repeated in
125 # SHLIB_PATH and LD_LIBRARY_PATH when unix_load sets these variables.
127 setenv LD_LIBRARY_PATH "$ld_library_path:$orig_ld_library_path"
129 setenv LD_LIBRARY_PATH "$ld_library_path"
132 setenv LD_RUN_PATH "$ld_library_path:$orig_ld_run_path"
134 setenv LD_RUN_PATH "$ld_library_path"
137 # HP-UX executables searches LD_LIBRARY_PATH before SHLIB_PATH.
138 # LD_LIBRARY_PATH isn't used for 32-bit executables. Thus, we
139 # set LD_LIBRARY_PATH and SHLIB_PATH as if they were independent.
141 setenv SHLIB_PATH "$ld_library_path:$orig_shlib_path"
143 setenv SHLIB_PATH "$ld_library_path"
146 setenv LD_LIBRARYN32_PATH "$ld_library_path:$orig_ld_libraryn32_path"
148 setenv LD_LIBRARYN32_PATH "$ld_library_path:$orig_ld_library_path"
150 setenv LD_LIBRARYN32_PATH "$ld_library_path"
153 setenv LD_LIBRARY64_PATH "$ld_library_path:$orig_ld_library64_path"
155 setenv LD_LIBRARY64_PATH "$ld_library_path:$orig_ld_library_path"
157 setenv LD_LIBRARY64_PATH "$ld_library_path"
160 setenv LD_LIBRARY_PATH_32 "$ld_library_path:$orig_ld_library_path_32"
162 setenv LD_LIBRARY_PATH_32 "$ld_library_path:$orig_ld_library_path"
164 setenv LD_LIBRARY_PATH_32 "$ld_library_path"
167 setenv LD_LIBRARY_PATH_64 "$ld_library_path:$orig_ld_library_path_64"
169 setenv LD_LIBRARY_PATH_64 "$ld_library_path:$orig_ld_library_path"
171 setenv LD_LIBRARY_PATH_64 "$ld_library_path"
174 setenv DYLD_LIBRARY_PATH "$ld_library_path:$orig_dyld_library_path"
176 setenv DYLD_LIBRARY_PATH "$ld_library_path"
180 setenv PATH "$ld_library_path:$orig_path"
182 setenv PATH "$ld_library_path"
186 verbose -log "set_ld_library_path_env_vars: ld_library_path=$ld_library_path"
219 setenv LD_LIBRARY_PATH "$orig_ld_library_path"
220 } elseif [info exists env(LD_LIBRARY_PATH)] {
221 unsetenv LD_LIBRARY_PATH