From: ts Date: 2003-08-01T17:40:23+09:00 Subject: Re: static libraries with extconf.rb/mkmf >>>>> "m" == maillist@bestworldweb homelinux com writes: m> How do I "have_library" with a static library in extconf.rb/mkmf? What is your problem with have_library ? pigeon% cat extconf.rb require 'mkmf' dir_config("db") puts "ok" if have_library("db", "dbopen") pigeon% pigeon% ruby extconf.rb checking for dbopen() in -ldb... no pigeon% pigeon% ruby extconf.rb --with-db-dir=/home/ts/local/db185 checking for dbopen() in -ldb... yes ok pigeon% pigeon% ls /home/ts/local/db185/lib libdb.a pigeon% Guy Decoux