Bug #3744
closedFails to compile on OpenSolaris
Description
=begin
I'm running RVM on a Joyent Accelerator which runs OpenSolaris. RVM fails to compile ruby 1.9.1 and 1.9.2 - the RVM team tell me this is a problem with Ruby rather than RVM. A full description and error log can be found at http://gist.github.com/550022 (ignore the first bit about installing ruby 1.8.7 through RVM).
=end
Updated by shyouhei (Shyouhei Urabe) about 14 years ago
- Priority changed from Normal to 3
=begin
=end
Updated by naruse (Yui NARUSE) over 13 years ago
- Status changed from Open to Feedback
We don't have Solaris.
Contribution is welcomed.
Updated by mame (Yusuke Endoh) about 12 years ago
- Assignee set to ngoto (Naohisa Goto)
- Target version set to 2.0.0
Goto-san, can you check this ticket?
--
Yusuke Endoh mame@tsg.ne.jp
Updated by ngoto (Naohisa Goto) about 12 years ago
From the error message, the dynamic linker of the OS could not find OpenSSL shared library.
To solve the issue quickly, please set LD_LIBRARY_PATH environment variable to the location of OpenSSL library, for example, LD_LIBRARY_PATH=/usr/local/lib (change /usr/local/lib to the directory OpenSSL shared libraries are installed).
To solve the issue without setting LD_LIBRARY_PATH, please specify an environment variable before compiling ruby, and set some parameters when running ./configure.
PKG_CONFIG_PATH=/usr/local/lib
export PKG_CONFIG_PATH
./configure CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib -R/usr/local/lib"
(the location /usr/local/lib should be changed to the directory OpenSSL shared libraries are installed and /usr/local/include should be changed to the directory OpenSSL header files are installed.)
Updated by mame (Yusuke Endoh) about 12 years ago
- Status changed from Feedback to Rejected
Thanks Goto-san! Then, closing this ticket as "invalid".
--
Yusuke Endoh mame@tsg.ne.jp