Comments (4)
@mbaglay Can you tell me more about your environment? To me it looks like amalgalite failed to install correctly.
Can you add to this issue the output of gem env
and ruby -rpp -e "pp RbConfig::CONFIG"
?
from amalgalite.
$ gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.8.23.2
- RUBY VERSION: 1.9.3 (2014-11-13 patchlevel 551) [x86_64-linux]
- INSTALLATION DIRECTORY: /home/mbaglay/.rvm/gems/ruby-2.2.0
- RUBY EXECUTABLE: /home/mbaglay/.rbenv/versions/1.9.3-p551/bin/ruby
- EXECUTABLE DIRECTORY: /home/mbaglay/.rvm/gems/ruby-2.2.0/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /home/mbaglay/.rvm/gems/ruby-2.2.0
- /home/mbaglay/.rvm/gems/ruby-2.2.0@global
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- "gem" => "--no-ri --no-rdoc"
- REMOTE SOURCES:
$ ruby -rpp -e "pp RbConfig::CONFIG"
{"DESTDIR"=>"",
"MAJOR"=>"1",
"MINOR"=>"9",
"TEENY"=>"1",
"PATCHLEVEL"=>"551",
"INSTALL"=>"/usr/bin/install -c",
"EXEEXT"=>"",
"prefix"=>"/home/mbaglay/.rbenv/versions/1.9.3-p551",
"ruby_install_name"=>"ruby",
"RUBY_INSTALL_NAME"=>"ruby",
"RUBY_SO_NAME"=>"ruby",
"exec"=>"exec",
"ruby_pc"=>"ruby-1.9.pc",
"PACKAGE"=>"ruby",
"BUILTIN_TRANSSRCS"=>" newline.c",
"USE_RUBYGEMS"=>"YES",
"MANTYPE"=>"doc",
"NROFF"=>"/usr/bin/nroff",
"vendorhdrdir"=>
"/home/mbaglay/.rbenv/versions/1.9.3-p551/include/ruby-1.9.1/vendor_ruby",
"sitehdrdir"=>
"/home/mbaglay/.rbenv/versions/1.9.3-p551/include/ruby-1.9.1/site_ruby",
"rubyhdrdir"=>"/home/mbaglay/.rbenv/versions/1.9.3-p551/include/ruby-1.9.1",
"UNIVERSAL_INTS"=>"",
"UNIVERSAL_ARCHNAMES"=>"",
"configure_args"=>
" '--prefix=/home/mbaglay/.rbenv/versions/1.9.3-p551' 'LDFLAGS=-L/home/mbaglay/.rbenv/versions/1.9.3-p551/lib ' 'CPPFLAGS=-I/home/mbaglay/.rbenv/versions/1.9.3-p551/include '",
"vendordir"=>"/home/mbaglay/.rbenv/versions/1.9.3-p551/lib/ruby/vendor_ruby",
"sitedir"=>"/home/mbaglay/.rbenv/versions/1.9.3-p551/lib/ruby/site_ruby",
"ruby_version"=>"1.9.1",
"sitearch"=>"x86_64-linux",
"arch"=>"x86_64-linux",
"RI_BASE_NAME"=>"ri",
"ridir"=>"/home/mbaglay/.rbenv/versions/1.9.3-p551/share/ri",
"rubylibprefix"=>"/home/mbaglay/.rbenv/versions/1.9.3-p551/lib/ruby",
"MAKEFILES"=>"Makefile",
"PLATFORM_DIR"=>"",
"THREAD_MODEL"=>"pthread",
"SYMBOL_PREFIX"=>"",
"EXPORT_PREFIX"=>"",
"COMMON_HEADERS"=>"",
"COMMON_MACROS"=>"",
"COMMON_LIBS"=>"",
"MAINLIBS"=>"",
"ENABLE_SHARED"=>"no",
"DLDLIBS"=>" -lc",
"SOLIBS"=>"",
"LIBRUBYARG_SHARED"=>
"-Wl,-R -Wl,/home/mbaglay/.rbenv/versions/1.9.3-p551/lib -L/home/mbaglay/.rbenv/versions/1.9.3-p551/lib ",
"LIBRUBYARG_STATIC"=>
"-Wl,-R -Wl,/home/mbaglay/.rbenv/versions/1.9.3-p551/lib -L/home/mbaglay/.rbenv/versions/1.9.3-p551/lib -lruby-static",
"LIBRUBYARG"=>
"-Wl,-R -Wl,/home/mbaglay/.rbenv/versions/1.9.3-p551/lib -L/home/mbaglay/.rbenv/versions/1.9.3-p551/lib -lruby-static",
"LIBRUBY"=>"libruby-static.a",
"LIBRUBY_ALIASES"=>"libruby.so",
"LIBRUBY_SO"=>"libruby.so.1.9.1",
"LIBRUBY_A"=>"libruby-static.a",
"RUBYW_INSTALL_NAME"=>"",
"rubyw_install_name"=>"",
"LIBRUBY_DLDFLAGS"=>"",
"LIBRUBY_LDSHARED"=>"gcc -shared",
"EXTDLDFLAGS"=>"",
"warnflags"=>
"-Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration",
"debugflags"=>"-ggdb",
"optflags"=>"-O3",
"cxxflags"=>
" -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration",
"cflags"=>
" -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration",
"cppflags"=>"-I/home/mbaglay/.rbenv/versions/1.9.3-p551/include ",
"NULLCMD"=>":",
"INSTALLDOC"=>"all",
"CAPITARGET"=>"nodoc",
"RDOCTARGET"=>"rdoc",
"EXECUTABLE_EXTS"=>"",
"ARCHFILE"=>"",
"LIBRUBY_RELATIVE"=>"no",
"EXTOUT"=>".ext",
"PREP"=>"miniruby",
"TEST_RUNNABLE"=>"yes",
"setup"=>"Setup",
"EXTSTATIC"=>"",
"STRIP"=>"strip -S -x",
"TRY_LINK"=>"",
"LIBPATHENV"=>"LD_LIBRARY_PATH",
"RPATHFLAG"=>" -Wl,-R%1$-s",
"LIBPATHFLAG"=>" -L%1$-s",
"LINK_SO"=>"",
"LIBEXT"=>"a",
"DLEXT2"=>"",
"DLEXT"=>"so",
"LDSHAREDXX"=>"g++ -shared",
"LDSHARED"=>"gcc -shared",
"CCDLFLAGS"=>"-fPIC",
"STATIC"=>"",
"ARCH_FLAG"=>"",
"DLDFLAGS"=>"",
"ALLOCA"=>"",
"codesign"=>"",
"POSTLINK"=>":",
"WERRORFLAG"=>"-Werror",
"CHDIR"=>"cd -P",
"RMALL"=>"rm -fr",
"RMDIRS"=>"rmdir --ignore-fail-on-non-empty -p",
"RMDIR"=>"rmdir --ignore-fail-on-non-empty",
"CP"=>"cp",
"RM"=>"rm -f",
"PKG_CONFIG"=>"pkg-config",
"DOXYGEN"=>"",
"DOT"=>"",
"MAKEDIRS"=>"/bin/mkdir -p",
"MKDIR_P"=>"/bin/mkdir -p",
"INSTALL_DATA"=>"/usr/bin/install -c -m 644",
"INSTALL_SCRIPT"=>"/usr/bin/install -c",
"INSTALL_PROGRAM"=>"/usr/bin/install -c",
"SET_MAKE"=>"",
"LN_S"=>"ln -s",
"NM"=>"nm",
"DLLWRAP"=>"",
"WINDRES"=>"",
"OBJCOPY"=>":",
"OBJDUMP"=>"objdump",
"ASFLAGS"=>"",
"AS"=>"as",
"AR"=>"ar",
"RANLIB"=>"ranlib",
"try_header"=>"",
"COUTFLAG"=>"-o ",
"OUTFLAG"=>"-o ",
"CPPOUTFILE"=>"-o conftest.i",
"GNU_LD"=>"yes",
"GCC"=>"yes",
"EGREP"=>"/bin/grep -E",
"GREP"=>"/bin/grep",
"CPP"=>"gcc -E",
"CXXFLAGS"=>
" -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration",
"CXX"=>"g++",
"OBJEXT"=>"o",
"CPPFLAGS"=>
"-I/home/mbaglay/.rbenv/versions/1.9.3-p551/include -I/home/mbaglay/.rbenv/versions/1.9.3-p551/include ",
"LDFLAGS"=>
"-L. -L/home/mbaglay/.rbenv/versions/1.9.3-p551/lib -rdynamic -Wl,-export-dynamic",
"CFLAGS"=>
" -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration",
"CC"=>"gcc",
"target_os"=>"linux",
"target_vendor"=>"unknown",
"target_cpu"=>"x86_64",
"target"=>"x86_64-unknown-linux-gnu",
"host_os"=>"linux-gnu",
"host_vendor"=>"unknown",
"host_cpu"=>"x86_64",
"host"=>"x86_64-unknown-linux-gnu",
"RUBYW_BASE_NAME"=>"rubyw",
"RUBY_BASE_NAME"=>"ruby",
"build_os"=>"linux-gnu",
"build_vendor"=>"unknown",
"build_cpu"=>"x86_64",
"build"=>"x86_64-unknown-linux-gnu",
"RUBY_RELEASE_DATE"=>"2014-11-13",
"RUBY_PROGRAM_VERSION"=>"1.9.3",
"BASERUBY"=>"ruby",
"target_alias"=>"",
"host_alias"=>"",
"build_alias"=>"",
"LIBS"=>"-lpthread -lrt -ldl -lcrypt -lm ",
"ECHO_T"=>"",
"ECHO_N"=>"-n",
"ECHO_C"=>"",
"DEFS"=>"",
"mandir"=>"/home/mbaglay/.rbenv/versions/1.9.3-p551/share/man",
"localedir"=>"/home/mbaglay/.rbenv/versions/1.9.3-p551/share/locale",
"libdir"=>"/home/mbaglay/.rbenv/versions/1.9.3-p551/lib",
"psdir"=>"/home/mbaglay/.rbenv/versions/1.9.3-p551/share/doc/ruby",
"pdfdir"=>"/home/mbaglay/.rbenv/versions/1.9.3-p551/share/doc/ruby",
"dvidir"=>"/home/mbaglay/.rbenv/versions/1.9.3-p551/share/doc/ruby",
"htmldir"=>"/home/mbaglay/.rbenv/versions/1.9.3-p551/share/doc/ruby",
"infodir"=>"/home/mbaglay/.rbenv/versions/1.9.3-p551/share/info",
"docdir"=>"/home/mbaglay/.rbenv/versions/1.9.3-p551/share/doc/ruby",
"oldincludedir"=>"/usr/include",
"includedir"=>"/home/mbaglay/.rbenv/versions/1.9.3-p551/include",
"localstatedir"=>"/home/mbaglay/.rbenv/versions/1.9.3-p551/var",
"sharedstatedir"=>"/home/mbaglay/.rbenv/versions/1.9.3-p551/com",
"sysconfdir"=>"/home/mbaglay/.rbenv/versions/1.9.3-p551/etc",
"datadir"=>"/home/mbaglay/.rbenv/versions/1.9.3-p551/share",
"datarootdir"=>"/home/mbaglay/.rbenv/versions/1.9.3-p551/share",
"libexecdir"=>"/home/mbaglay/.rbenv/versions/1.9.3-p551/libexec",
"sbindir"=>"/home/mbaglay/.rbenv/versions/1.9.3-p551/sbin",
"bindir"=>"/home/mbaglay/.rbenv/versions/1.9.3-p551/bin",
"exec_prefix"=>"/home/mbaglay/.rbenv/versions/1.9.3-p551",
"PACKAGE_URL"=>"",
"PACKAGE_BUGREPORT"=>"",
"PACKAGE_STRING"=>"",
"PACKAGE_VERSION"=>"",
"PACKAGE_TARNAME"=>"",
"PACKAGE_NAME"=>"",
"PATH_SEPARATOR"=>":",
"SHELL"=>"/bin/bash",
"rubylibdir"=>"/home/mbaglay/.rbenv/versions/1.9.3-p551/lib/ruby/1.9.1",
"archdir"=>
"/home/mbaglay/.rbenv/versions/1.9.3-p551/lib/ruby/1.9.1/x86_64-linux",
"sitelibdir"=>
"/home/mbaglay/.rbenv/versions/1.9.3-p551/lib/ruby/site_ruby/1.9.1",
"sitearchdir"=>
"/home/mbaglay/.rbenv/versions/1.9.3-p551/lib/ruby/site_ruby/1.9.1/x86_64-linux",
"vendorlibdir"=>
"/home/mbaglay/.rbenv/versions/1.9.3-p551/lib/ruby/vendor_ruby/1.9.1",
"vendorarchdir"=>
"/home/mbaglay/.rbenv/versions/1.9.3-p551/lib/ruby/vendor_ruby/1.9.1/x86_64-linux",
"topdir"=>
"/home/mbaglay/.rbenv/versions/1.9.3-p551/lib/ruby/1.9.1/x86_64-linux"}
Actually, I cannot see amalgalite/amalgalite.rb file in this gem repo.
from amalgalite.
@mbaglay There is no amalgalite/amalgalite.rb
file. The file that failed to load would be the binary library that should be installed at /home/mbaglay/.rvm/gems/ruby-2.2.0/gems/amalgalite-1.4.1/lib/amalgalite/amalgalite.so
.
I do find something odd about your setup. You are using ruby 1.9 and your gems are being installed in a ruby-2.2.0 directory.
In any case, I think the easiest thing to do is have you try and reinstall amalgalite with gem install -V amalgalite
. That will spit out the extension build information and we can probably go from there.
from amalgalite.
closing as its old. If someone has a bug like this in the future, please open.
from amalgalite.
Related Issues (20)
- Enable the FTS3 compile time module HOT 2
- Look at NestedVM and see if that is a way to add jruby support HOT 1
- check the behavior of sqlite3_step and make sure we do the right thing HOT 1
- expand the import from csv functionality to automatically create a table from the data HOT 1
- Be more specific on checking sqlite $LOADED_FEATURES
- Amalgalite with MacRuby uses system different version. HOT 12
- Add Trigger Support HOT 2
- Rework Schema API
- see about telling Ruby that a statement execution is a blocking operation
- Gem install fails: "Use RbConfig instead of obsolete and deprecated Config" HOT 3
- cannot load such file -- amalgalite/2.0/amalgalite3 (LoadError) HOT 11
- FasterCSV HOT 3
- Bump arrayfields dependency to 4.9.0 please HOT 1
- Instruction in README.md confusing HOT 3
- Add suppport for sqlite3_limit
- Update README and CONTRIBUTING for new docker based cross compile
- Different ruby compatibility depending on platform HOT 10
- When Packing with amalgalite-pack amagalite_require_order differes from amagalite_needs HOT 2
- older compilers do not like ext/amalgalite/amalgalite3_constants.c HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amalgalite.