On Fri, 17 Sep 2004, ik 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 ?

you need to read the documentation. if there are several libraries
implementing the same APIs, there is no way to distinguish them, just from
browsing the libraries using 'nm' or similar tools.

sometimes, the location of the library will reveal its secret. sometimes
not. sometimes, there is a library with the same name in different
locatoins - usually for different compilers or versions of the library -
in those cases, on a properly configured system, you only need to '-l' the
library, and the PATH will be handled automagically.

if you have some software that was explicitly built for an older version
of the compiler or libraries, you'll need to find this in the docs, or
using trial-and-error.

i guess this's helping you much - experience will, thought.

well, give it a wave....

-- 
guy

"For world domination - press 1,
 or dial 0, and please hold, for the creator." -- nob o. dy

=================================================================
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