diff --git a/lib/plugins/rpm.rb b/lib/plugins/rpm.rb index 488ee23b3..a55fc34f8 100644 --- a/lib/plugins/rpm.rb +++ b/lib/plugins/rpm.rb @@ -6,7 +6,7 @@ module RPM extend ::FFI::Library begin - ffi_lib ['librpm.so.3', 'librpm.so.2', 'librpm.so.1', 'rpm'] + ffi_lib ['librpm.so.3', 'librpm.so.2', 'librpm.so.1', 'librpm-5.4.so', 'rpm'] rescue LoadError => e raise( "Can't find rpm libs on your system: #{e.message}" @@ -16,4 +16,4 @@ module RPM attach_function 'rpmvercmp', [:string, :string], :int end -end \ No newline at end of file +end