I used to have a similar problem.
When you run the bin realplayer install, it installs to a directory inside your home directory in the first place. It then makes some symlinks to make all the stuff in there executable.
The problem is that this "install" is very dependent on the first particular configuration of you system ¿solution? Take a look on the scripts inside your $home/realplay dir, change whatever you need, take a look on the symlinks and change/customize whatever you need, and make a package of you own. Install it and everything will be ok.
There is no need for changing any binary (everything works just fine). The problem are the scripts, with a bit of tweaking everything works
Good luck!