[gtkmm] Glib::Module problem with loading libraries



Hi,

I've tried that : Glib::Module NewModule("./Plugin/libtest.so",Glib::MODULE_BIND_MASK);

But when executing ...

./Plugin/libtest.so: invalid ELF header

(easygest:30306): GModule-CRITICAL **: file gmodule.c: line 530 (g_module_symbol): assertion `module != NULL' failed

I tested it with a .la library and the Glib search .so files.
The libraries are in the good directory.
I also tried to put the filename without the extention and i have the same errors.

Could you help me please saying me what's wrong ?

Thanks.

Seb.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]