in reply to Crypt::RSA dies: Can't call method "encryptblock" on an undefined value
Your lib path might be messed up somehow.
When I got this error, I traced it down to the call to Class::Loader's _load method. For some reason in certain circumstances it quietly fails, leaving a null.
Just an FYI, I explicitly set the object reference, and I'm getting provider errors in Crypt::Random.
I think your only solution is to get it liking the classpath somehow.