O
Oliver Cromm
I'm trying to use WordNet, database version, with ruby library. [1]
I'm getting the "error 126" when I try convertdb.rb:
| /usr/lib/ruby/site_ruby/1.8/i386-cygwin/bdb.so: dlopen, Win32 error 126 - /usr/lib/ruby/site_ruby/1.8/i386-cygwin/bdb.so (LoadError)
Not surprisingly, bdb.so is there:
% ls -l
total 402
drwxrwxrwx+ 2 crommc mkgroup-l-d 4096 Jan 26 16:40 .
drwxrwxrwx+ 8 crommc mkgroup-l-d 4096 Dec 10 12:36 ..
-rwxr-xr-x 1 crommc mkgroup-l-d 148992 Jan 26 16:39 bdb.so
-rwxr-xr-x 1 crommc mkgroup-l-d 133120 Aug 2 16:21 maxent.so
-rwxr-xr-x 1 crommc mkgroup-l-d 13312 Nov 1 17:29 mod_curia.so
[...]
I read [2] that this was an error in ruby-1.8.1 that should be fixed in
1.8.2, but upgrading Ruby to 1.8.2 didn't change this problem.
Also, in trying to reinstall bdb, I have problems with extconf.rb.
Whatever parameters I give, it says "libdb not found". What is the exact
file it is looking for?
I'm getting the "error 126" when I try convertdb.rb:
| /usr/lib/ruby/site_ruby/1.8/i386-cygwin/bdb.so: dlopen, Win32 error 126 - /usr/lib/ruby/site_ruby/1.8/i386-cygwin/bdb.so (LoadError)
Not surprisingly, bdb.so is there:
% ls -l
total 402
drwxrwxrwx+ 2 crommc mkgroup-l-d 4096 Jan 26 16:40 .
drwxrwxrwx+ 8 crommc mkgroup-l-d 4096 Dec 10 12:36 ..
-rwxr-xr-x 1 crommc mkgroup-l-d 148992 Jan 26 16:39 bdb.so
-rwxr-xr-x 1 crommc mkgroup-l-d 133120 Aug 2 16:21 maxent.so
-rwxr-xr-x 1 crommc mkgroup-l-d 13312 Nov 1 17:29 mod_curia.so
[...]
I read [2] that this was an error in ruby-1.8.1 that should be fixed in
1.8.2, but upgrading Ruby to 1.8.2 didn't change this problem.
Also, in trying to reinstall bdb, I have problems with extconf.rb.
Whatever parameters I give, it says "libdb not found". What is the exact
file it is looking for?