Libcap.so.2 for SuSE 10 (32bit)

Hello, I am trying to use a worktool on SLES 10 (32-bit) and it is saying I do not have libcap.so.2:

error while loading shared libraries: libcap.so.2: cannot open shared object file: No such file or directory

Is there an easy way for me to install this library? A quick Google search indicates that this might be a 64bit library (I see many mentions of 64bit and x86_64), does that mean this tool is not intended for my 32-bit OS if it requires this library?

Sorry I do not have much experience with Linux and rpm search.

Thanks

If you have a 32-bit OS, you require a 32-bit library. A 32-bit OS cannot use 64-bit libraries. (A 64-bit OS can use 32-bit libraries, though.)

Thank you Corona688. Am I right in assuming Libcap.so.2 is a 64bit library? That was just a guess on my part, because of how it was showing up in my Google search.

That depends; There should be 32-bit and 64-bit versions of most libraries.

You can use file to determine if the one you have is for 32/64 bit systems.

For example, this is what I get on my system:

# file -b libcap.so.2
ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped

The name has nothing to do with it. You could find 32-bit, 64-bit, ARM, SPARC, and POWER versions of this file.

You get it by installing the appropriate package, libpcap, not by copying it into /usr/lib. I'm not sure what installer SLES has though.