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

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

Open
ganto opened this issue Sep 13, 2020 · 2 comments · May be fixed by #46
Open

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

ganto opened this issue Sep 13, 2020 · 2 comments · May be fixed by #46

Comments

@ganto
Copy link

ganto commented Sep 13, 2020

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
Copy link
Author

ganto commented Sep 14, 2020

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

@aldy505
Copy link

aldy505 commented Jan 31, 2022

any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants