LD_ASSUME_KERNEL=2.4.19 realplay help at all? (This assumes you're using bash as your shell; that's the default. If you aren't using bash, adjust the syntax accordingly.)
If you use the "env" command, you don't have to worry about the differences between shells:
env LD_ASSUME_KERNEL=2.4.19 realplay
It's also useful when you're setting up launchers in GNOME, where you can't do the sh style "var=value command".