My test program cannot find my newly built external library.. Can
someone point out what I'm doing wrong?
taf@taf-24:~/rexxGTK/rexxGTK3/RexxGTK-0.10.0$ rexx test12-calendar.rex
874 *-* ::METHOD init EXTERNAL "LIBRARY rexxgtk GrxWidgetNew"
57 *-* ::requires 'rexxgtk.cls'
Error 98 running /home/taf/rexxGTK/rexxGTK3/RexxGTK-0.10.0/rexxgtk.cls
line 874: Execution error.
Error 98.903: Unable to load library "rexxgtk".
taf@taf-24:~/rexxGTK/rexxGTK3/RexxGTK-0.10.0$ echo $LD_LIBRARY_PATH
/home/taf/rexxGTK/rexxGTK3/RexxGTK-0.10.0
taf@taf-24:~/rexxGTK/rexxGTK3/RexxGTK-0.10.0$ ls -al *.so
-rwxrwxr-x 1 taf taf 612800 Nov 8 13:31 librexxgtk.so
RexxPackageEntry gtkobject_package_entry = {
STANDARD_PACKAGE_HEADER
REXX_INTERPRETER_4_0_0, // anything after 4.0.0 will work
"rexxgtk", // name of the package
VERSTRING(VMAJOR,VMINOR,VREL), // package information
NULL, // no load/unload functions
NULL,
gtkobject_routines, // the exported routines
gtkobject_methods // the exported methods
};
// package loading stub.
OOREXX_GET_PACKAGE(gtkobject);
Fragment of rexxgtk near line 874:
/*============================================================================*/
/* Class: GtkWidget */
/* Note: This is strictly an abstract class. It should never be
instantiated */
/* on its own. You should instantiate one of its subclasses
instead. */
/*============================================================================*/
::class GtkWidget public
::METHOD init EXTERNAL "LIBRARY rexxgtk GrxWidgetNew"
--
taf
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel