I downloaded and installed GNU grep 2.7 from
http://hpux.connect.org.uk/hppd/hpux/Gnu/grep-2.7/. I found that GNU
grep 2.7, to be installed in /usr/local/bin/, has a hard-coded
dependency on /usr/local/lib/hpux32/libintl.so. When I tried to run
this version of grep on a HPUX 11.31 server, it complained
address@hidden:/usr/local/bin$ ./grep
/usr/lib/hpux32/dld.so: Unable to find library
'/usr/local/lib/hpux32/libintl.so'.
Killed
I could not find the hard-coding by "strings grep |
/usr/local/bin/grep -I libintl". However, when I did "od -cx
/usr/local/bin/grep>grep.hex" and used vi to search grep.hex for "l
i" (small L, three space, and i), I found the hard-coded string.
Please update the run-time dependencies on the GNU grep 2.7 web page
to reflect this, and also supply a copy of libintl.so to be
installed.
When I did "swlist -l file | grep -I libintl" on our server, it found
/opt/gtk2.6/lib/libintl.so. Unfortunately, the path to libintl.so is
hard-coded in GNU grep 2.7, so it will not use this alternate
location of the library.