Hi again,

If you followed the rexxapi sample for external methods and used this to execute the sample

LD_LIBRARY_PATH=`pwd` rexx .....

make sure the quotes are back-ticks, otherwise it won't work.

Ruurd

On 10/26/24 11:06, Ruurd-Jan Idenburg via Oorexx-devel wrote:

Hi,

You are working on a Linux distro. Where have you placed the liborxgtk_methods.so  file.

Normally these libraries are in one of the /usr/lib, /usr/lib/x86_64-linux-gnu of /usr/local/lib directories.

You probably can find the locations at /etc/ld.so.conf.d

If you stored the lib file somewhere else, I think you need to set/expand environment variable LD_LIBRARY_PATH.

HTH,

Ruurd

On 10/26/24 02:49, taf wrote:

I'm working on some external methods.  I have successfully built "liborxgtk_methods.so" and it's marked executable.  It is adapted from the rexxapi sample.  However when I refer to it in my rexx program with:

::method gSignalConnect external "LIBRARY orxgtk_methods NoArgMethodReturn123 "

I get:

Error 98.903:  Unable to load library "orxgtk_methods"

Can anyone give me any pointers on what I'm doing wrong? Be aware that I'm really at the bottom of the learning curve and the error is probably pretty basic.

--
taf


_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to