[TriLUG] INPUT line in shared libraries

Scott Chilcote scottchilcote at earthlink.net
Tue May 15 09:16:05 EDT 2007


Joseph Mack NA3T wrote:
> Some of my shared libraries are some sort of link to other 
> libraries eg
> 
> igloo:/src/lfs/usr/lib# ls -al libmenu*.so
> -rw-r--r--  1 root root 15 May 14 18:53 libmenu.so
> lrwxrwxrwx  1 root root 13 May 14 18:34 libmenuw.so -> libmenuw.so.5*
> 
> igloo:/src/lfs/usr/lib# more libmenu.so
> INPUT(-lmenuw)
> 
> What is the INPUT line about?

I'm not sure how you're seeing that.  On my CentOS 4.4 system, more will 
not list a library file; it exits saying "Not a text file".

I can list some of the text content of a library using strings, but the 
libs I have looked at do not contain the string "INPUT" at all.  That 
is, "strings libmenu.so | grep INPUT" returns no matches.  Is this on 
another variety of *nix?

> Why isn't libmenu.so a link to libmenuw.so, as is done for 
> static libraries, eg
> 
> igloo:/src/lfs/usr/lib# ls -al libmenu*.a
> lrwxrwxrwx  1 root root    10 May 14 18:53 libmenu.a -> libmenuw.a
> -rw-r--r--  1 root root 44948 May 14 18:34 libmenuw.a

On my CentOS system, it is:

> lrwxrwxrwx  1 root root     12 Jun  6  2006 libmenu.so -> libmenu.so.5*
> lrwxrwxrwx  1 root root     14 Jun  6  2006 libmenu.so.5 -> libmenu.so.5.4*
> lrwxrwxrwx  1 root root     13 Jun  6  2006 libmenuw.so -> libmenuw.so.5*
> lrwxrwxrwx  1 root root     15 Jun  6  2006 libmenuw.so.5 -> libmenuw.so.5.4*

Does cmp say that the two libraries libmenu.so and libmenuw.so are 
identical?  If so, it's possible that an error was made assembling the 
ncurses build.  Just speculation though.

--
Scott C.



More information about the TriLUG mailing list