I have compiled Ruby 2.0.0p247-binaries on a RedHat Enterprise Linux 5-system. When I require 'net/https'
on this same system, everything is fine.
The binaries have been installed on a common application repository however and when I try to execute the same command from a Fedora Core 17-system, Ruby fails with the following error message:
LoadError: libssl.so.6: cannot open shared object file: No such file or directory - /apps/ruby/2.0.0/lib/ruby/2.0.0/x86_64-linux/openssl.so
When I ls
the directory it's complaining about, the file is there (and it loads properly on the RedHat-system). Are RedHat-compiled binaries incompatible with Fedora? Apart from installing Ruby to a separate location specific to the Fedora-system, would there be any other solutions?