On MacOSX the BSF4ooRexx library is named "libBSF4ooRexx.dylib". Testing the changes in the BSF4ooRexx installation scripts and then testing the resulting installations surfaced a problem on MacOSX: libBSF4ooRexx.dylib can be loaded via Java and used successfully.
However, loading "libBSF4ooRexx.dylib" via ooRexx is not successful. To be precise, the ::routine xbsf PUBLIC EXTERNAL "LIBRARY BSF4ooRexx BSF" fails with the execution error: Error 98.903: Unable to load library "BSF4ooRexx". Here two rexxtry.rex sessions, the first one is run with "rexxj.sh /usr/local/bin/rexxtry.rex" which loads a Java program that will load the BSF4ooRexx library to then execute /usr/local/bin/rexxtry.rex. This is followed by a "rexx rexxtry.rex" session which yields the exection error. This is then followed by the "rexx -e" statement which does a call BSF.CLS which then shows the full error message: rony@ronymac2014 ~ % rexxj.sh /usr/local/bin/rexxtry.rex REXX-ooRexx_5.0.0(MT)_64-bit 6.05 12 Jul 2021 rexxtry.rex lets you interactively try REXX statements. Each string is executed when you hit Enter. Enter 'call tell' for a description of the features. Go on - try a few... Enter 'exit' to end. call bsf.cls .............................................. rexxtry.rex on DARWIN say .bsf4rexx~display.version ooRexx 5.0.0 r12280 (12 Jul 2021) / BSF 641.20210715 / Java 1.8.0_162, 64-bit / Darwin 20.5.0 .............................................. rexxtry.rex on DARWIN exit rony@ronymac2014 ~ % rexxtry.rex REXX-ooRexx_5.0.0(MT)_64-bit 6.05 12 Jul 2021 rexxtry.rex lets you interactively try REXX statements. Each string is executed when you hit Enter. Enter 'call tell' for a description of the features. Go on - try a few... Enter 'exit' to end. call bsf.cls Oooops ! ... try again. Execution error. Unable to load library "BSF4ooRexx". rc = 98.903 .................................. rexxtry.rex on DARWIN exit *rony@ronymac2014 ~ % rexx -e "call bsf.cls"****919 *-* ::routine xBSF PUBLIC EXTERNAL "LIBRARY BSF4ooRexx BSF "****1 *-* call bsf.cls****Error 98 running /usr/local/bin/BSF.CLS line 919: Execution error.****Error 98.903: Unable to load library "BSF4ooRexx".* rony@ronymac2014 ~ % It is the first of five external "LIBRARY BSF4ooRexx XXX" directives (these five external function names are: "BSF", "BsfCreateRexxProxy", "BsfRexxProxy", "BsfUninit4JavaBean", "BsfLoadJava"). So it is the first time the "BSF4ooRexx" library needs to be proecessed by ooRexx in this way. This was tested against the Sourceforge version of ooRexx r12280, July 12 2021. Is there anything I could do to help pinpoint the problem? ---rony
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel