To rectify that error, I would do:
This will return all instances of 'librpm' on your computer. then you can create a symbolic link to librpm-4.4.so in a folder in your path (most likely /var/lib, /usr/share/lib, or something similar.) To find out what directories are in your current path you can issue 'echo $PATH'. Be aware though that you must login as root, not simply su over to root (unless you use the '-' switch as in 'su -')
I know that this is probably confusing, post back if you need some help.