Note that there are some explanatory texts on larger screens.

plurals
  1. POLion: Problem with RVM installing rubies - problem related to openssl
    primarykey
    data
    text
    <p>I'm desparate, fuddling with the following problem for two(!!) days now w/o a solution.</p> <p>After an update to Lion I wanted to install additional rubies using the most recent version of rvm. </p> <p>Here's what happens when I call bundler afterwards:</p> <pre><code>/Users/felix/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': dlopen(/Users/janroesner/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/x86_64-darwin11.1.0/digest/sha1.bundle, 9): Symbol not found: _SHA1_Init (LoadError) </code></pre> <p>Ok, openssl problem. So I checked there is no openssl but the system one in /usr with libraries in /usr/lib and headers in /usr/include/openssl. Check.</p> <p>I decided to install a more recent version with brew. After that no ruby compiles with the error that BN_rand_range and BN_peudo_rand_range are defined already. </p> <p>Seems to be more strict type checking of the most recent gcc, so I uncommented lines 411 and 412 in /usr/include/openssl/bn.h that caused the conflict cause ruby defines both on it's own. Now ruby compiles but I receive the same error Symbol not found: _SHA1_Init.</p> <p>So I removed the comments from the openssl header file bn.h I put there before and tried the opposite. I commented these lines out in ~/.rvm/src/ruby-1.9.2-p290/ext/openssl/openssl_missing.h</p> <p>Same result.</p> <p>After that I completely removed ~/.rvm, reinstalled it and ... have the same problem.</p> <p>Now I tried:</p> <pre><code>rvm pkg install openssl rvm remove 1.9.2-p290 rvm install 1.9.2-p290 -C --with-openssl-dir=$rvm_path/usr </code></pre> <p>Same result.</p> <p>I'm desparate. Can anyone help? Regards Felix</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload