From: theglauber@... (glauber) Date: 2002-11-12T05:26:54+09:00 Subject: "relocation error" problem using DB2 extension Hello, i'm new to Ruby, but i have plenty of experience with Perl, C and Perl extensions. I'm trying to set up the ruby-db2 extension (DB2CLI) on ruby 1.6.7, RedHat 7.1 Linux. After a little bit of manipulation in the generated Makefile (to make it look for include files in $DB2DIR/include), i got everything to compile and install. But, when i try to run the test samples, i get: ruby: relocation error: /usr/local/lib/ruby/site_ruby/1.6/i686-linux/db2/db2cli.so: undefined symbol: SQLAllocHandle I checked to make sure the directory with the DB2 shared libraries *is* included in the LD_LIBRARY_PATH environment variable. I'd appreciate any ideas on what's causing this error and how to fix it. Thank you very much. glauber