To find out what library is provided by an RPM package, try this:
locate libg2c.so|xargs rpm -qf | sort | uniq