Well if you're starting off with an existing binary or a refrence
application youre building upon you can run a
>readelf -d binary - this will give you the dynamic section of that
binary or in other words which dynamic libraries that binary "Expects"
to be present to fulfill the symbols you're looking for.
This can also be run on a .so(shared object/library) or anything elf
(no legolas doesn't count).

If you don't have a binary - my weapon of choice is google you can
supply it with the desired symbol(function) name and it usually puts
you in something relevent library itself or docs or somebodys post in
a forum bitchin why he can't compile because of that missing symbol
and somebody reffering him to the correct library.

On Fri, 17 Sep 2004 12:31:39 +0300, ik <[EMAIL PROTECTED]> wrote:
> Hello list,
> 
> How can I know which library contains the functions I'm using in order to link it to 
> the program I'm
> writing ?
> 
> In this case it's about the XKB xlib extension, but I would like to find a good way 
> to know this
> type of things (where there are several libraries for the same API that I'm using).
> 
> Thank you for any help,
> 
> Ido
> --
> In theory, there is no difference between theory and practice. But, in practice, 
> there is.
>         -- Jan L.A. van de Snepscheut
> 
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
> 
> 


-- 
Peace Love and Penguins -
Lior Kesos

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to