[ILUG] Re: Guess the library

From: John P . Looney (valen at domain tuatha.org)
Date: Fri 17 Sep 1999 - 16:49:00 IST


On Fri, Sep 17, 1999 at 04:44:52PM +0100, Mel mentioned:
> under Linux, whats the easiest way to find out what library a function
> belongs to? I have the man page and header file for a posix function but
> I'm damned if I know what library it belongs to. I can't exactly just grep
> /lib/* so what do I do?

 If it's there:

minbar [0] nm /usr/X11R6/lib/libX11.so | grep XOpenDisplay
00024c80 T XOpenDisplay

 If it's accessed from it:
minbarr [0] nm /usr/X11R6/lib/libXmu.so | grep XOpenDisplay
         U XOpenDisplay

Kate

-- 
Microsoft. The best reason in the world to drink beer.


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:34 GMT