I know essentially nothing about HP-UX, but at least on Linux, $PATH has
nothing to do with where shared libraries are searched for; it's the
search path for executables run as shell commands.
On Linux, there are default search locations for shared libs like /lib,
/usr/lib, and /usr/share/lib. If you want to dynamically link a library
that is in some other location, you can use the $LD_LIBRARY_PATH
variable to name those extra locations. So in your case, you might run
LD_LIBRARY_PATH=/opt/gtk2.6/lib vim
in the shell and see if that works. I don't know if any of that is truly
Linux-specific, but chances are something similar is true on HP-UX if
it's not exactly the same.
No comments:
Post a Comment