From: nobu.nokada@... Date: 2005-05-17T08:21:01+09:00 Subject: Re: Unresolved symbols dlclose, dlopen, dlerror, dlsym Hi, At Tue, 17 May 2005 04:15:31 +0900, me2faster@excite.com wrote in [ruby-talk:142836]: > It's 'zrlddll'. Then, this patch works? Index: ext/dl/extconf.rb =================================================================== RCS file: /cvs/ruby/src/ruby/ext/dl/extconf.rb,v retrieving revision 1.12 diff -U2 -p -r1.12 extconf.rb --- ext/dl/extconf.rb 8 Nov 2003 04:48:35 -0000 1.12 +++ ext/dl/extconf.rb 16 May 2005 23:20:14 -0000 @@ -137,6 +137,5 @@ end if( have_header("dlfcn.h") ) dlc_define("HAVE_DLFCN_H") - have_library("dl") - have_func("dlopen") + %w"dl zrlddll".find {|dl| have_library(dl, "dlopen")} or exit have_func("dlclose") have_func("dlsym") -- Nobu Nakada