ruby-lxc icon indicating copy to clipboard operation
ruby-lxc copied to clipboard

ruby-lxc broken by liblxc 4.0.4: undefined symbol: lxc_config_parse_arch

Open ganto opened this issue 5 years ago • 2 comments

When checking if my various LXC-related RPM packages still work with the latest Fedora version, I found that ruby-lxc is not working anymore. When trying to use it with the latest lxc-4.0.4 I get the following error:

Traceback (most recent call last):
        2: from container.rb:1:in `<main>'
        1: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in `require'
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- lxc (LoadError)
        6: from container.rb:1:in `<main>'
        5: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:34:in `require'
        4: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:130:in `rescue in require'
        3: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:130:in `require'
        2: from /usr/share/gems/gems/ruby-lxc-1.2.3/lib/lxc.rb:2:in `<top (required)>'
        1: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in `require'
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in `require': /usr/lib64/gems/ruby/ruby-lxc-1.2.3/lxc/lxc.so: undefined symbol: lxc_config_parse_arch - /usr/lib64/gems/ruby/ruby-lxc-1.2.3/lxc/lxc.so (LoadError)

I guess it was broken by commit 63c2a0b: confile: hide unnecessary symbols.

Was this intended? Is ruby-lxc still supported?

ganto avatar Sep 13 '20 22:09 ganto

@brauner Since you authored that commit can you maybe have a look?

ganto avatar Sep 14 '20 18:09 ganto

any updates on this?

aldy505 avatar Jan 31 '22 18:01 aldy505