Re: detecting the right library to be linked

2004-09-20 Thread Lior Kesos
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

detecting the right library to be linked

2004-09-17 Thread ik
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

Re: detecting the right library to be linked

2004-09-17 Thread guy keren
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,