From: Mike F. <mf...@su...> - 2005-01-09 15:38:43
|
MINAMI Hirokazu <mi...@mi...> さんは書きました: > On Sun, 2005-01-09 at 14:09 +0100, Mike FABIAN wrote: >> Seiichi SATO <ss...@sh...> さんは書きました: >> > When loading plugins, mlconfig checks plugin extensions such as >> > so, sl and dll using kik_dl_is_module() in kik_dlfcn_*.c. >> > Therefore, mlconfig skips loading .a and/or .la files. >> > >> > Is kik_dl_is_module() correctly working on your environment? >> >> Loading of the plugins worked fine and the plugins also worked. >> There was only a problem in the GUI of mlconfig. But the patch >> by MINAMI Hirokazu seems to fix it. > > I've assumed that kik_dlfcn_ltdl.c is selected on your environment > and kik_dl_is_module() is checking nothing. > Is this correct? > Mike I think yes because I am using the configure option --with-libtdl. I enable this configure option only for SuSE Linux > 9.0 though: %if %suse_version > 900 --with-libltdl \ %endif for SuSE Linux <= 9.0 it doesn't work with this option, for SuSE Linux > 9.0 it doesn't work without this option. I have not yet investigated why, I don't clearly understand this stuff yet. > In my understanding, "ltdl" is to use libtool for emulating > dynamic loading on a system that do not support such feature. > > Do we really have to install *.a on such systems? > Shouldn't they be statically linked and not required at run-time? > #I'm not sure how we can enumerate plug-ins in that case, though. I tried deleting the *.a and it still works (on SuSE 9.2 where I currently use --with-libltdl). -- Mike FABIAN <mf...@su...> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。 |