MagLev / maglev

GemStone Maglev Ruby Repository
http://maglev.github.io
517 stars 41 forks source link

OpenSSL - Symbol not found: _rb_eArgError #408

Closed johnnyt closed 9 years ago

johnnyt commented 9 years ago

Hey Allen - it looks like that merge fixed the _rb_cArray but now it doesn't know about _rb_eArgError

maglev-ruby -e 'require "openssl"'
Warning: loadCLibrary dlopen failed, name: /Users/johnnyt/.rbenv/versions/maglev-2.0.0-dev/lib/ruby/1.9/openssl/ext/openssl.bundle
   dlerror: dlopen(/Users/johnnyt/.rbenv/versions/maglev-2.0.0-dev/lib/ruby/1.9/openssl/ext/openssl.bundle, 265): Symbol not found: _rb_eArgError
  Referenced from: /Users/johnnyt/.rbenv/versions/maglev-2.0.0-dev/lib/ruby/1.9/openssl/ext/openssl.bundle
  Expected in: flat namespace
 in /Users/johnnyt/.rbenv/versions/maglev-2.0.0-dev/lib/ruby/1.9/openssl/ext/openssl.bundle
ERROR 2702 , a RubyLoadError occurred (error 2702), dlopen(/Users/johnnyt/.rbenv/versions/maglev-2.0.0-dev/lib/ruby/1.9/openssl/ext/openssl.bundle, 265): Symbol not found: _rb_eArgError
  Referenced from: /Users/johnnyt/.rbenv/versions/maglev-2.0.0-dev/lib/ruby/1.9/openssl/ext/openssl.bundle
  Expected in: flat namespace
 in /Users/johnnyt/.rbenv/versions/maglev-2.0.0-dev/lib/ruby/1.9/openssl/ext/openssl.bundle (LoadError)
topaz 1> exit

Also - that's great about moving the C extension support into libmagparse. I can't wait for later this week!

AllenOtis commented 9 years ago

The require openssl doesn't even work for me on a Linux checkout, so I can't debug these problems yet. I can't find any instructions in the magleve checkout about what needs to be done to make the checkout usable (in terms of building the .o and .so files for openssl), etc. There don't appear to be any make files or extconf.rb or anything in the checkout . So we need to sort this out when you are in Beaverton.

Allen

On Tue, Jul 21, 2015 at 9:08 AM, JohnnyT notifications@github.com wrote:

Hey Allen - it looks like that merge fixed the _rb_cArray but now it doesn't know about _rb_eArgError

maglev-ruby -e 'require "openssl"' Warning: loadCLibrary dlopen failed, name: /Users/johnnyt/.rbenv/versions/maglev-2.0.0-dev/lib/ruby/1.9/openssl/ext/openssl.bundle dlerror: dlopen(/Users/johnnyt/.rbenv/versions/maglev-2.0.0-dev/lib/ruby/1.9/openssl/ext/openssl.bundle, 265): Symbol not found: _rb_eArgError Referenced from: /Users/johnnyt/.rbenv/versions/maglev-2.0.0-dev/lib/ruby/1.9/openssl/ext/openssl.bundle Expected in: flat namespace in /Users/johnnyt/.rbenv/versions/maglev-2.0.0-dev/lib/ruby/1.9/openssl/ext/openssl.bundle ERROR 2702 , a RubyLoadError occurred (error 2702), dlopen(/Users/johnnyt/.rbenv/versions/maglev-2.0.0-dev/lib/ruby/1.9/openssl/ext/openssl.bundle, 265): Symbol not found: _rb_eArgError Referenced from: /Users/johnnyt/.rbenv/versions/maglev-2.0.0-dev/lib/ruby/1.9/openssl/ext/openssl.bundle Expected in: flat namespace in /Users/johnnyt/.rbenv/versions/maglev-2.0.0-dev/lib/ruby/1.9/openssl/ext/openssl.bundle (LoadError) topaz 1> exit

Also - that's great about moving the C extension support into libmagparse. I can't wait for later this week!

— Reply to this email directly or view it on GitHub https://github.com/MagLev/maglev/issues/408.

AllenOtis commented 9 years ago

Found that the libgcilnk was failing to export the rb_e* symbols on Darwin. Have a private build ready with those symbols now exported, ready for testing on Thursday.

On Tue, Jul 21, 2015 at 9:39 AM, Allen Otis allen.otis@gemtalksystems.com wrote:

The require openssl doesn't even work for me on a Linux checkout, so I can't debug these problems yet. I can't find any instructions in the magleve checkout about what needs to be done to make the checkout usable (in terms of building the .o and .so files for openssl), etc. There don't appear to be any make files or extconf.rb or anything in the checkout . So we need to sort this out when you are in Beaverton.

Allen

On Tue, Jul 21, 2015 at 9:08 AM, JohnnyT notifications@github.com wrote:

Hey Allen - it looks like that merge fixed the _rb_cArray but now it doesn't know about _rb_eArgError

maglev-ruby -e 'require "openssl"' Warning: loadCLibrary dlopen failed, name: /Users/johnnyt/.rbenv/versions/maglev-2.0.0-dev/lib/ruby/1.9/openssl/ext/openssl.bundle dlerror: dlopen(/Users/johnnyt/.rbenv/versions/maglev-2.0.0-dev/lib/ruby/1.9/openssl/ext/openssl.bundle, 265): Symbol not found: _rb_eArgError Referenced from: /Users/johnnyt/.rbenv/versions/maglev-2.0.0-dev/lib/ruby/1.9/openssl/ext/openssl.bundle Expected in: flat namespace in /Users/johnnyt/.rbenv/versions/maglev-2.0.0-dev/lib/ruby/1.9/openssl/ext/openssl.bundle ERROR 2702 , a RubyLoadError occurred (error 2702), dlopen(/Users/johnnyt/.rbenv/versions/maglev-2.0.0-dev/lib/ruby/1.9/openssl/ext/openssl.bundle, 265): Symbol not found: _rb_eArgError Referenced from: /Users/johnnyt/.rbenv/versions/maglev-2.0.0-dev/lib/ruby/1.9/openssl/ext/openssl.bundle Expected in: flat namespace in /Users/johnnyt/.rbenv/versions/maglev-2.0.0-dev/lib/ruby/1.9/openssl/ext/openssl.bundle (LoadError) topaz 1> exit

Also - that's great about moving the C extension support into libmagparse. I can't wait for later this week!

— Reply to this email directly or view it on GitHub https://github.com/MagLev/maglev/issues/408.

johnnyt commented 9 years ago

This has been fixed with the new branch from @AllenOtis