Bug #3744

Fails to compile on OpenSolaris

Added by Adam Pennycuick over 4 years ago. Updated over 2 years ago.

[ruby-core:31846]
Status:Rejected
Priority:Low
Assignee:Naohisa Goto
ruby -v:1.9 Backport:

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

History

#1 Updated by Shyouhei Urabe over 4 years ago

  • Priority changed from Normal to Low

=begin

=end

#2 Updated by Yui NARUSE over 3 years ago

  • Status changed from Open to Feedback

We don't have Solaris.
Contribution is welcomed.

#3 Updated by Yusuke Endoh over 2 years ago

  • Assignee set to Naohisa Goto
  • Target version set to 2.0.0

Goto-san, can you check this ticket?

Yusuke Endoh mame@tsg.ne.jp

#4 Updated by Naohisa Goto over 2 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.)

#5 Updated by Yusuke Endoh over 2 years ago

  • 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