Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

do_sqlite3 not loading #54

Open
jamtur01 opened this issue Apr 13, 2013 · 1 comment
Open

do_sqlite3 not loading #54

jamtur01 opened this issue Apr 13, 2013 · 1 comment

Comments

@jamtur01
Copy link

I am seeing:

cannot load such file -- do_sqlite3/do_sqlite3

do_sqlite3 (0.10.12)
dm-sqlite-adapter (1.2.0)
dm-core (1.2.0)
ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-linux]

@asciipip
Copy link

I have the same problem, and I'm not sure how to debug it.

I'm on a Fedora 20 system with the following RPMs:

  • ruby-2.0.0.353-16.fc20.x86_64

and the following gems:

  • do_sqlite3 (0.10.14)
  • data_objects (0.10.14)

Here's a sample irb session:

$ irb
irb(main):001:0> require 'do_sqlite3'
LoadError: cannot load such file -- do_sqlite3/do_sqlite3
        from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/local/share/gems/gems/do_sqlite3-0.10.14/lib/do_sqlite3.rb:28:in `<top (required)>'
        from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:135:in `require'
        from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
        from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:144:in `require'
        from (irb):1
        from /usr/bin/irb:12:in `<main>'
irb(main):002:0>

The system is an x86_64 Fedora 20 install (running in a qemu VM, if that makes a difference). /usr/local, where the gems are installed, is mounted via NFS. I can load other gems from /usr/local. The permissions leading up to /usr/local/share/gems/gems/do_sqlite3-0.10.14/ext/do_sqlite3/do_sqlite3.so all look reasonable. SELinux is enabled but no AVCs are reported and the problem persists when I set SELinux to permissive.

Is there any additional debugging I can do to determine why do_sqlite3/do_sqlite3 is failing to load?

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

No branches or pull requests

2 participants