Bonsoir Jean-Louis,
sorry, missed to follow your advice:
On 18.07.2021 16:21, Jean Louis Faucher wrote:
... cut ...
> Tried it on 11.4, but unfortunately does not work. It may have to do with
>
> Indeed, it worked for me because I had the path to libjvm.dylib in
> DYLD_LIBRARY_PATH
>
> By the way, you could check if DYLD_LIBRARY_PATH works with your system, when
> not deleted… Remove
> the symbolic link you created in oorexx lib, and try
>
> DYLD_LIBRARY_PATH=“directory of ibjvm” rexx -e “call bfs.cls"
... cut ...
Had to change the example (would find libjvm.dylib on Apple anyway), but moving
away from
/opt/BSF4ooRexx such that "libBSF4ooRexx.dylib" won't be locatable by Java.
Then doing:
DYLD_LIBRARY_PATH=/opt/BSF4ooRexx rexx -e “call bfs.cls;say
.bsf4rexx~display.version"
would work!
Works also, if doing something like
export DYLD_LIBRARY_PATH=/opt/BSF4ooRexx
rexx -e “call bfs.cls;say .bsf4rexx~display.version"
Java will add the directories from DYLD_LIBRARY_PATH to its "java.library.path"
and therefore become
able to find libBSF4ooRexx.dylib, so DYLD_LIBRARY_PATH in these use cases is
fully functional on Apple!
Thank you again for your help, also for this suggestion, which makes it clear
to me in which context
DYLD* is still functional! :)
---rony
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel