On Mon, Jun 02, 2003 at 01:07:07AM -0400, Paul Pelzl wrote:
> At the moment I need to launch ion from the directory
> /usr/local/ion-devel/lib/ion-devel/ , otherwise Lua complains that it
> can't find the query, floatws, and ionws modules. Did I miss a
> configuration option somewhere that lets one fix the search path?
Ancient libltdl that doesn't like that lt_dlinit had drifted to be
called after lt_dladdsearchdir:s? Try the attached patch.
--
Tuomo
--- ../releases/ion-devel-20030531/ioncore/ioncore.c 2003-05-31 18:04:38.000000000
+0300
+++ ioncore/ioncore.c 2003-06-02 08:19:09.000000000 +0300
@@ -115,6 +115,9 @@
libtu_init(argv[0]);
+ if(!init_module_support())
+ return EXIT_FAILURE;
+
ioncore_add_default_dirs();
optparser_init(argc, argv, OPTP_MIDLONG, ioncore_opts, &ioncore_cinfo);
@@ -402,9 +405,6 @@
register_classes();
init_hooks();
- if(!init_module_support())
- return FALSE;
-
if(!extl_init())
return FALSE;
@@ -463,6 +463,8 @@
wglobal.dpy=NULL;
XCloseDisplay(dpy);
+
+ extl_deinit();
}