Skip to content

grpc gem 1.3.4 LoadError: GLIBC_2.15 not found #11346

@jacobvosmaer

Description

@jacobvosmaer

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 protocolbuffers/protobuf#2783 (comment) . 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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions