Call rpmvercmp function from dynamic library: /usr/lib/librpm.so.*.