finding redhat dependencies.

install rpmdb-redhat

#rpm -q --redhatprovides bar.so.2

bar-2.0.20-3.i386.rpm

1