>>>>> "A" == Andreas Schwarz <usenet / andreas-s.net> writes:

A> ruby: relocation error: /usr/local/lib/site_ruby/1.8/i386-linux/bdb.so:
A> undefined symbol: db_version

 What is the output given by extconf.rb ?

pigeon% ruby extconf.rb 
extconf.rb: Entering directory `src'
checking for db_version() in -ldb-4.2... no
checking for db_version_4002() in -ldb-4.2... no
checking for db_version() in -ldb42... no
checking for db_version_4002() in -ldb42... no
checking for db_version() in -ldb-4.1... no
checking for db_version_4001() in -ldb-4.1... no
checking for db_version() in -ldb41... no
checking for db_version_4001() in -ldb41... no
checking for db_version() in -ldb-4.0... no
checking for db_version_4000() in -ldb-4.0... yes
creating Makefile
extconf.rb: Leaving directory `src'
pigeon%
 
pigeon% make
[...]
pigeon%

pigeon% ruby -rsrc/bdb -e 'p BDB::VERSION'
"Sleepycat Software: Berkeley DB 4.0.14: (March 27, 2003)"
pigeon% 



Guy Decoux