Coder Social home page Coder Social logo

do_sqlite3 not loading about do HOT 1 OPEN

datamapper avatar datamapper commented on August 19, 2024
do_sqlite3 not loading

from do.

Comments (1)

asciiphil avatar asciiphil commented on August 19, 2024

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?

from do.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.