Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load error: puma/puma_http11 -- java.lang.UnsatisfiedLinkError #50

Closed
mrrooijen opened this issue Mar 30, 2012 · 3 comments
Closed

load error: puma/puma_http11 -- java.lang.UnsatisfiedLinkError #50

mrrooijen opened this issue Mar 30, 2012 · 3 comments

Comments

@mrrooijen
Copy link

Hi,

I was interested in checking back to Puma since 1.0.0 got released. Locally it works fine and I am not experiencing any issues with JRuby or hanging processes anymore. I wanted to do some basic benchmarking on a fresh Ubuntu-Server install and when I try to boot up Puma in my Rails app, it aborts with the following error:

bundle exec puma
LoadError: load error: puma/puma_http11 -- java.lang.UnsatisfiedLinkError: failed to load shim library, error: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/local/rvm/rubies/jruby-1.6.7/lib/native/x86_64-Linux/libjruby-cext.so)
  require at org/jruby/RubyKernel.java:1033
   (root) at /usr/local/rvm/gems/jruby-1.6.7/gems/puma-1.0.0/lib/puma/server.rb:10
  require at org/jruby/RubyKernel.java:1033
   (root) at /usr/local/rvm/gems/jruby-1.6.7/gems/puma-1.0.0/lib/puma/server.rb:4
  require at org/jruby/RubyKernel.java:1033
   (root) at /usr/local/rvm/gems/jruby-1.6.7/gems/puma-1.0.0/lib/puma/cli.rb:6
     load at org/jruby/RubyKernel.java:1058
   (root) at /usr/local/rvm/gems/jruby-1.6.7/bin/puma:19

Any idea what might be causing this issue? Is it a missing package?

  • Latest JRuby
  • Latest Rails
  • Latest Puma

Thanks!

@evanphx
Copy link
Member

evanphx commented Mar 30, 2012

I mistakenly didn't push the java platform gem. That has been done and it will fix your issue.

@evanphx evanphx closed this as completed Mar 30, 2012
@mrrooijen
Copy link
Author

Yup seems to be working now. Thanks!

@jlxw
Copy link

jlxw commented Apr 16, 2013

I'm getting this on latest HEAD cc91b6c any ideas?

aleksei-burlakov pushed a commit to aleksei-burlakov/puma that referenced this issue Sep 6, 2022
require 'set' library in selector.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants