Re: Change to gmodule
- From: "Padraig O'Briain" <Padraig Obriain Sun COM>
- To: timj gtk org
- Cc: gtk-devel-list gnome org
- Subject: Re: Change to gmodule
- Date: Tue, 29 May 2001 09:38:43 +0100 (BST)
Tim,
The version in CVS does not fix my problem.
I used to specify GTK_MODULES as "libgail:libtestobject". Now, I need to specify
it as "libgail.so:libtestobject.so".
I see two problems with g_module_open().
1) The line
name = g_strconcat (file_name, ".la");
should be
name = g_strconcat (file_name, ".la", NULL);
2) The code in version 1.33 which checked whether the file_name ended in
G_MODULE_SUFFIX or ".la" and if not, appended a suffix before calling
_g_module_open() is not in version 1.35.
Padraig
> X-Sender: timj birgrave birnet private
> To: "Padraig O'Briain" <Padraig Obriain Sun COM>
> cc: Gtk+ Developers <gtk-devel-list gnome org>
> Subject: Re: Change to gmodule
> MIME-Version: 1.0
>
> On Mon, 28 May 2001, Padraig O'Briain wrote:
>
> > The file glib/gmodule.c was changed on May 27th.
> >
> > One effect of this change is to change the behaviour of the GTK_MODULES
> > environment variable. The code no longer uses LD_LIBRARY_PATH to search for
a
> > module. This is because dlopen() is no longer used to find the module.
> >
> > Is the change of behaviour intended? Is there now a requirement to specify
the
> > full pathname for a module in the GTK_MODULES environment variable?
>
> thanks for spotting, should be fixed in CVS now.
>
> >
> > Padraig
> >
>
> ---
> ciaoTJ
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]