Got a strange error on a student's MacBook (Mojave) which I am not able to 
recreate at all nor have
I received a comparable error report so far:

    T-MacBook-Air:~ t.f$ rexxj.sh 
/Applications/ooRexx.app/Contents/utilities/ooRexxTry.rxj && exit 
    [BSFManager.loadScriptingEngine()] unable to load language: rexx: 
java.lang.UnsatisfiedLinkError: 
/Library/Frameworks/BSF4ooRexx.framework/Versions/A/Libraries/libBSF4ooRexx.dylib:
 
dlopen(/Library/Frameworks/BSF4ooRexx.framework/Versions/A/Libraries/libBSF4ooRexx.dylib,
 1): Library not loaded: @rpath/librexx.4.dylib
      Referenced from: 
/Library/Frameworks/BSF4ooRexx.framework/Versions/A/Libraries/libBSF4ooRexx.dylib
      Reason: image not found
    at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
    at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2442)
    at 
java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2498)
    at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2694)
    at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2659)
    at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:830)
    at java.base/java.lang.System.loadLibrary(System.java:1873)
    at org.rexxla.bsf.engines.rexx.RexxAndJava.<clinit>(RexxAndJava.java:871)
    at org.rexxla.bsf.engines.rexx.RexxEngine.initialize(RexxEngine.java:291)
    at org.apache.bsf.BSFManager$8.run(BSFManager.java:854)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at org.apache.bsf.BSFManager.loadScriptingEngine(BSFManager.java:852)
    at org.rexxla.bsf.RexxDispatcher.main(RexxDispatcher.java:117)
    Teresas-MacBook-Air:~ t.f$ 

All the ooRexx libraries (e.g. librexx.3.dylib, librexx.4.dylib, librexx.dylib) 
are in
/usr/local/lib linking to: /Library/Frameworks/ooRexx.framework/Libraries/ 
(librexx.3.dylib,
librexx.4.dylib are links to librexx.dylib).

Running ooRexx programs from anywhere on the system works.

Anyone with an idea, an advice what to look for, what to do in this case?

---rony

P.S.: This BSF4ooRexx (which includes oorexx) got used:
<https://sourceforge.net/projects/bsf4oorexx/files/beta/20200928/b4r_641_500_64Bit_macosx-20210205-r12147.zip/download>

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

Reply via email to