[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNU grep 2.7 missing library dependency

From: Fraser, Jim
Subject: GNU grep 2.7 missing library dependency
Date: Wed, 6 Oct 2010 09:21:39 -0400

    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 



    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 



Jim Fraser

Corporate Applications Infrastructure Support |

    Soutien de l'infrastructure des applications corporatives

Information Systems Branch (ISB) |

    Direction générale des systèmes d'information (DGSI)

Agriculture and Agri-Food Canada | Agriculture et Agroalimentaire Canada

Tower 4, Floor 2, Room 244

1341 Baseline Road

Ottawa, ON, K1A 0C5
address@hidden <mailto:address@hidden> 

Telephone/Téléphone: 613-773-0718

Facsimile/Télécopieur: 613-773-0550

Teletypewriter/Téléimprimeur 613-773-2600

Government of Canada / Gouvrernement du Canada


reply via email to

[Prev in Thread] Current Thread [Next in Thread]