Bug #3744
closed
Fails to compile on OpenSolaris
Added by adamp83 (Adam Pennycuick) over 14 years ago.
Updated about 12 years ago.
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
- Priority changed from Normal to 3
- Status changed from Open to Feedback
We don't have Solaris.
Contribution is welcomed.
- Assignee set to ngoto (Naohisa Goto)
- Target version set to 2.0.0
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.)
- Status changed from Feedback to Rejected
Thanks Goto-san! Then, closing this ticket as "invalid".
--
Yusuke Endoh mame@tsg.ne.jp
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0Like0