How to find out bitness of gss library?

Greg Hudson ghudson at MIT.EDU
Mon Nov 18 19:16:06 EST 2013


On 11/18/2013 09:35 AM, Weijun Wang wrote:
> The problem is, a 64 bit Linux system can have both 32 bit and 64 bit 
> libraries installed, and we would like to find out if the installed 
> libgss is one, the other, or both, so that we can determine which 
> version of Java we can test. Is there a way to find out this?

I don't think we provide a way to do this, as I don't think it's
currently common for *-config scripts or pkg-config files to give out
this information.  Perhaps this is an omission in the current state of
the art for build-time dependency discovery.

Can you simply check whether you are able to successfully load the GSS
library and run the tests if it works?  (I'm assuming that you are
loading the library with dlopen or similar.  If you are building a
program and linking against it, you can similarly check for the success
or failure of the linker.)



More information about the krbdev mailing list