On Thu, Apr 24, 2014 at 09:58:59AM -0700, YTC wrote:
> in the lib directory, the modules have .dylib extension. There are
> both libgwyddion2.dylib and libgwyddion2.0.dylib. Not sure if this is
> redundant.
Please try the attached patch. If it makes the standalone gwy module
work for you, I will try to fix it properly based on that. You may
still need to set DYLD_FALLBACK_LIBRARY_PATH or DYLD_LIBRARY_PATH, I am
not sure about the library search paths.
Regards,
Yeti
Index: modules/pygwy/gwy.c
===================================================================
--- modules/pygwy/gwy.c (revision 16160)
+++ modules/pygwy/gwy.c (working copy)
@@ -94,7 +94,7 @@
guint i;
for (i = 0; i < G_N_ELEMENTS(gwyddion_libs); i++) {
- gchar *filename = g_strconcat(gwyddion_libs[i], ".", G_MODULE_SUFFIX,
+ gchar *filename = g_strconcat(gwyddion_libs[i], ".dylib",
NULL);
GModule *modhandle = g_module_open(filename, G_MODULE_BIND_LAZY);
if (!modhandle) {
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Gwyddion-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gwyddion-users