[TriLUG] INPUT line in shared libraries

Joseph Mack NA3T jmack at wm7d.net
Tue May 15 08:35:38 EDT 2007


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?

What other text could go in here?

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

couldn't find anything in google looking for

"INPUT(-l", linux, shared, library, link

Thanks Joe

-- 
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!



More information about the TriLUG mailing list