Ethereal-dev: [ethereal-dev] plugins do not work anymore

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Olivier Abad <abad@xxxxxxxxxxxxx>
Date: Wed, 9 Feb 2000 07:37:36 +0100
Hi,

Does anybody know why we try to open ".la" files with g_module_open()
and not ".so" files ?

Apparently, since gilbert corrected the test to skip files with wrong
extensions(*), plugins don't work anymore (g_module_open() fails with a
"Bad ELF header" error). However, if I change LT_LIB_EXT definition to
".so", everything works again.

BTW, if we only need the ".so" file, why do we install the ".la" and
".a" in PLUGIN_DIR ?

Olivier

(*) the wrong test skipped ".la" files instead of skipping files with
any other extension. So ".so" files were opened.
-- 
The way to a man's stomach is through his esophagus.