Re: Fwd: Module loading with gtkmm 2.6

On Tue, 2005-04-26 at 09:30 +0000, jimenezr ufrima imag fr wrote:
> Ok Murray, i try :)
> I am working on a company manage software.
> Untill now i use Gktmm 2.4.
> The software is modular and it works good with gtkmm 2.4
> Now i want to use Gtkmm 2.6 and the program crash while the execution :
> undefined symbol: _ZN7IPlugin20mainViewFuncTree_ptrE

Maybe you have also changed compilers. If you can create a test case
then you will either find the error or show that it exists in glibmm.

> The error appears here :
> Glib::Module * NewModule = new Glib::Module(modulename);
> I have found a error with Glib::Module on the web :
> /*---------------------
> Version details: Appears in earlier version of Glibmm as well
> Distribution/Version: This bug affects all systems using dlopen()

In future, just show us the bugzilla URL. But this does not seem to be
relevant at all. It is not about a change in glibmm or gtkmm.

> The enum Glib::ModuleFlags does not have a MODULE_BIND_LOCAL entry that
> coresponds with glib's G_MODULE_BIND_LOCAL flag.  Without it modules are
> always
> loaded RTLD_GLOBAL.  Work around is to use code like the following:
>  Glib::Module module(moduleName, Glib::ModuleFlags(2));
> -----------------------*/ 
> So i tried this
>  Glib::Module * NewModule = new
>  Glib::Module("Plugin/libcontact",Glib::ModuleFlags(2));
> But the problem still the same.
> Is it a problem with the lib Gtkmm 2.6 ?

Murray Cumming
murrayc murrayc com

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