Thanks, Paolo. Jim -----Original Message----- From: Paolo Bonzini [mailto:[email protected]] On Behalf Of Paolo Bonzini Sent: Thursday, October 07, 2010 3:45 AM To: Fraser, Jim Cc: [email protected] Subject: Re: GNU grep 2.7 missing library dependency
On 10/06/2010 03:21 PM, Fraser, Jim wrote: > 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 > > r...@ottux017:/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. I am sorry, the people usually on this mailing list are not related to this particular binary of GNU grep that you received, and in fact are unlikely to have access to HP-UX systems altogether. The right address seems to be [email protected] (from the "Contact Us" page on the website you mentioned). Paolo
