From: Yui NARUSE Date: 2012-02-16T15:01:26+09:00 Subject: [ruby-core:42676] [ruby-trunk - Bug #6021] TestDBM#test_aref test fails Issue #6021 has been updated by Yui NARUSE. I confirmed Ruby 1.9.3-p121 works with libgdbm 1.10 on NetBSD 5.99.60. Akira Tanaka wrote: > 2012/2/15 Bohuslav Kabrda : > > > > OK, sorry for kidding, removing the 'libc' stuff doesn't affect it. I'll try to investigate this further. The problem is probably in the new gdbm functionality. > > I guess the problem is header/library mismatch. > Fro example, gdbm header file and Berkeley DB library. So this seems correct and maybe resolved by --dbm-type or changing order of dblib in extconf.rb. > Ruby 2.0 should work better but the improvement may be too big for Ruby 1.9.3. I partly backported it to improve DBM::VERSION without advanced searching for headers. ---------------------------------------- Bug #6021: TestDBM#test_aref test fails https://bugs.ruby-lang.org/issues/6021 Author: Vit Ondruch Status: Feedback Priority: Normal Assignee: Category: Target version: ruby -v: ruby 1.9.3p105 (2012-02-13 revision 34579) [x86_64-linux] Testing with Fedora 17/Rawhide, I get following test error: TestDBM#test_aref = ./ruby: symbol lookup error: /builddir/build/BUILD/ruby-1.9.3-p105/.ext/x86_64-linux/dbm.so: undefined symbol: dbm_open # rpm -q gdbm gdbm-1.10-2.fc17.x86_64 -- http://bugs.ruby-lang.org/