grpc: grpc gem 1.3.4 LoadError: GLIBC_2.15 not found
Please answer these questions before submitting your issue.
Should this be an issue in the gRPC issue tracker?
Yes.
What version of gRPC and what language are you using?
Ruby, grpc 1.3.4.
What operating system (Linux, Windows, …) and version?
Linux amd64. Two distros: Debian 7 and Centos 6.
What runtime / compiler are you using (e.g. python version or version of gcc)
Ruby 2.3.3
What did you do?
gem install grpc -v 1.3.4
ruby -r grpc -e 'puts :ok'
What did you expect to see?
ok
What did you see instead?
(On Debian 7)
$ ruby -r grpc -e 'puts :ok'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grpc-1.3.4-x86_64-linux/src/ruby/lib/grpc/grpc.rb:35:in `require_relative': /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grpc-1.3.4-x86_64-linux/src/ruby/lib/grpc/2.3/grpc_c.so) - /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grpc-1.3.4-x86_64-linux/src/ruby/lib/grpc/2.3/grpc_c.so (LoadError)
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grpc-1.3.4-x86_64-linux/src/ruby/lib/grpc/grpc.rb:35:in `<top (required)>'
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grpc-1.3.4-x86_64-linux/src/ruby/lib/grpc/errors.rb:30:in `require_relative'
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grpc-1.3.4-x86_64-linux/src/ruby/lib/grpc/errors.rb:30:in `<top (required)>'
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grpc-1.3.4-x86_64-linux/src/ruby/lib/grpc.rb:32:in `require_relative'
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/grpc-1.3.4-x86_64-linux/src/ruby/lib/grpc.rb:32:in `<top (required)>'
from /opt/gitlab/embedded/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:133:in `require'
from /opt/gitlab/embedded/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:133:in `rescue in require'
from /opt/gitlab/embedded/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:40:in `require'
Anything else we should know about your project / environment?
The same happens on Centos 6. Version 1.2.5 and earlier of the grpc gem did not have this problem.
Also see the exchange in https://github.com/google/protobuf/issues/2783#issuecomment-284577832 . There the resolution was to rebuild the gems using glibc 2.12. Edit: There the resolution was to rebuild the gems using glibc 2.12.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16 (7 by maintainers)
PR’s that fix this should be in the next release (#11404 and 11403), thanks for filing
@pglombardo in those tests in which your seeing an abort signal, is there a server that gets shut down abruptly, e.g. the process gets a
SIGINT
? If so, I can reproduce this, but it should be benign (shutting down the server before process exit I believe should fix this). If this is a causing a problem feel free to file a separate issue.