1. use "rpm -qa" to check the package name of your program. E.g., "rpm -qa|grep -i firebird" to check the package name of Firebird.
2. use "rpm -q l Package name" to list all the files in this package.
You can locate the file easily.
Maybe there is some better way to do this. But usually it can work.