pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/29927



The following reply was made to PR pkg/29927; it has been noted by GNATS.

From: Jussi Liukkonen <jussi.liukkonen%snorkkeli.homeip.net@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/29927
Date: Sat, 9 Apr 2005 20:17:46 +0300

 To note, this seems to be a gmodule problem, and not dia one. With this 
 hack-patch, dia starts, but is still unable to load shape_filter and 
 svg_filter:
 
 --- lib/plug-ins.c.orig Sat Apr  9 19:47:47 2005
 +++ lib/plug-ins.c      Sat Apr  9 20:03:53 2005
 @@ -228,7 +236,7 @@
       message_error(_("Could not deduce correct path for `%s'"), 
 info->filename);
       return;
     }
 -  info->module = g_module_open(info->real_filename, 
 G_MODULE_BIND_LAZY);
 +  info->module = g_module_open(info->real_filename, 0 
 /*!G_MODULE_BIND_LAZY*/);
     if (!info->module) {
       gchar *msg_utf8 = g_locale_to_utf8 (g_module_error(), -1, NULL, 
 NULL, NULL);
       message_error(_("Could not load plugin '%s'\n%s"),
 
 The dia startup error messages are :
 
 Could not load plugin '/usr/pkg/lib/dia/libshape_filter.la'
 dlcompat: dyld: 
 /Users/admin/pkgsrc/graphics/dia/work/dia-0.94/app/.libs/dia Undefined 
 symbols:
 _dia_svg_renderer_get_type
 Could not load plugin '/usr/pkg/lib/dia/libsvg_filter.la'
 dlcompat: dyld: 
 /Users/admin/pkgsrc/graphics/dia/work/dia-0.94/app/.libs/dia Undefined 
 symbols:
 _dia_svg_parse_style
 _dia_svg_renderer_get_type
 
 Theory: gmodule, especially with lazy binding, somehow can't handle 
 recursive lookups (a dyld binds to another dyld while initializing). I 
 don't know enough about dyld or gmodule (yet) to figure this thing out 
 properly...
 



Home | Main Index | Thread Index | Old Index