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

An attempt to load native extension causes LoadError #41

Closed
maxirmx opened this issue Nov 26, 2021 · 1 comment
Closed

An attempt to load native extension causes LoadError #41

maxirmx opened this issue Nov 26, 2021 · 1 comment

Comments

@maxirmx
Copy link
Member

maxirmx commented Nov 26, 2021

The file /__tebako_memfs__/lib/ruby/gems/2.7.0/gems/ffi-1.15.4/lib/ffi_c.so is packaged however it causes LoadError

maxirmx@MSS-WS-N:~/Projects/tebako$ ./metanorma-package
Traceback (most recent call last):
        2: from /__tebako_memfs__/local/bin/metanorma:70:in `<main>'
        1: from /__tebako_memfs__/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'
/__tebako_memfs__/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require': cannot load such file -- ffi (LoadError)
        6: from /__tebako_memfs__/local/bin/metanorma:70:in `<main>'
        5: from /__tebako_memfs__/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:147:in `require'
        4: from /__tebako_memfs__/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:158:in `rescue in require'
        3: from /__tebako_memfs__/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:158:in `require'
        2: from /__tebako_memfs__/lib/ruby/gems/2.7.0/gems/ffi-1.15.4/lib/ffi.rb:3:in `<top (required)>'
        1: from /__tebako_memfs__/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'
/__tebako_memfs__/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require': cannot load such file -- 2.7/ffi_c (LoadError)
        7: from /__tebako_memfs__/local/bin/metanorma:70:in `<main>'
        6: from /__tebako_memfs__/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:147:in `require'
        5: from /__tebako_memfs__/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:158:in `rescue in require'
        4: from /__tebako_memfs__/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:158:in `require'
        3: from /__tebako_memfs__/lib/ruby/gems/2.7.0/gems/ffi-1.15.4/lib/ffi.rb:2:in `<top (required)>'
        2: from /__tebako_memfs__/lib/ruby/gems/2.7.0/gems/ffi-1.15.4/lib/ffi.rb:5:in `rescue in <top (required)>'
        1: from /__tebako_memfs__/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'
/__tebako_memfs__/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require': /__tebako_memfs__/lib/ruby/gems/2.7.0/gems/ffi-1.15.4/lib/ffi_c.so: cannot open shared object file: No such file or directory - /__tebako_memfs__/lib/ruby/gems/2.7.0/gems/ffi-1.15.4/lib/ffi_c.so (LoadError)

Ref #23

@maxirmx
Copy link
Member Author

maxirmx commented Dec 1, 2021

This issue is related to #42 and shall be discussed in broader context

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

1 participant