Subject:
[ruby-ffi] Proper way to refer to libcrack.so.2
From:
broberts
Date:
5/11/12 1:40 AM
To:
ruby-ffi

On CentOS cracklib is deploy as libcrack.so.2 which is a symlink to
libcrack.so.2.8.1. There is no libcrack.so. Referring to this library
using:

ffi_lib 'crack'

fails with a file not found error. Referring to the library using:

ffi_lib 'crack.so.2'

succeeds. I assume that this is the expected behavior but I wanted to
make sure before I get too far down the road.

Thanks for any help.

Baron