Problem with Ubuntu 12.10

881 views
Skip to first unread message

Bob Sleys

unread,
Aug 30, 2012, 1:25:37 PM8/30/12
to hobo...@googlegroups.com
I decided to give the beta of Ubuntu 12.10 a try and ran into the following problem when doing a bundle install or bundle update on an existing project using hobo from git. Note the bolded and highlighted undefined symbol: SSLv2_method.  After a bit of googling around I found this posting http://stackoverflow.com/questions/8206546/undefined-symbol-sslv2-method apparently OpenSSL is being built by Conical without SSLv2 support due to security concerns.

I'm going to see if I can find a workaround for this but I thought I'd pass it on if anyone else runs across the same problem.  I don't know what needs to change to move off of SSLv2 to SSLv3 but perhaps if I can install an earlier version of openssl I can get around the problem for now.

Using dryml (1.4.0.pre9) from git://github.com/tablatom/hobo (at master) with native extensions 
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

        /home/bob/.rvm/rubies/ruby-1.9.3-p194/bin/ruby mkrf_conf.rb 
/home/bob/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': /home/bob/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/openssl.so: undefined symbol: SSLv2_method - /home/bob/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/openssl.so (LoadError)
from /home/bob/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/bob/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/openssl.rb:17:in `<top (required)>'
from /home/bob/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/bob/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from mkrf_conf.rb:5:in `<main>'


Gem files will remain installed in /home/bob/.rvm/gems/ruby-1.9.3-p194@fitness/bundler/gems/hobo-e1134b5c5b13/dryml for inspection.
Results logged to /home/bob/.rvm/gems/ruby-1.9.3-p194@fitness/bundler/gems/hobo-e1134b5c5b13/dryml/ext/gem_make.out
An error occurred while installing dryml (1.4.0.pre9), and Bundler cannot continue.
Make sure that `gem install dryml -v '1.4.0.pre9'` succeeds before bundling.

Bob Sleys

unread,
Aug 30, 2012, 1:34:55 PM8/30/12
to hobo...@googlegroups.com
ok quick followup.  The following will get around the issue.

sudo apt-get install libssl0.9.8

cd /lib/x86_64-linux-gnu  <-- will be x86 or something like that on a 32 bit install

sudo ln -s libcrypto.so.0.9.8 libcrypto.so.10
sudo ln -s libssl.so.0.9.8 libssl.so.10
Reply all
Reply to author
Forward
0 new messages