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

 
Thread Tools Search this Thread
Operating Systems Linux SuSE Libcap.so.2 for SuSE 10 (32bit)
# 1  
Old 10-29-2013
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:

Code:
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
# 2  
Old 10-29-2013
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.)
# 3  
Old 10-30-2013
Quote:
Originally Posted by Corona688
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.
# 4  
Old 10-30-2013
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:
Code:
# file -b libcap.so.2
ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped

# 5  
Old 10-30-2013
Quote:
Originally Posted by bstring
Thank you Corona688. Am I right in assuming Libcap.so.2 is a 64bit library?
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. SuSE

SuSE 10 32bit Hardware interupts on VMWare ESX 4i

Hi! Does anyone know how a high percentage of Hardware Interrupts does affect a Linux system? any why does it generate hardware interrupts? The affected system is a SuSE 10.2 32bit running 2.6.16.60-0.33-vmi #1 SMP Fri Oct 31 14:24:07 UTC 2008 i686 i686 i386 GNU/Linux procinfo shows that... (2 Replies)
Discussion started by: Esaia
2 Replies
Login or Register to Ask a Question