SAP NW RFC SDK 7.50 PL6 On MacOS 10.15.6
Had some issue in compiling node-rfc on MacOS 10.15.6
Haven't had that sorted out
But at least i have my SAP NW RFC SDK installed correctly on my Mac..
VERY useful info from:
https://github.com/SAP/node-rfc/issues/143
https://github.com/SAP/node-rfc/issues/140
Snippets:
As a workaround you can:
Replace modified nwrfcsdk libs, with SAP original libs, in /usr/local/nwrfcsdk folder
Fix
sapnwrfc.node
@rpaths to @loader_paths:
$ cd lib\binding
$ install_name_tool -change @rpath/libsapnwrfc.dylib @loader_path/libsapnwrfc.dylib sapnwrfc.node
$ install_name_tool -change @rpath/libsapucum.dylib @loader_path/libsapucum.dylib sapnwrfc.node
To verify:
$ otool -L sapnwrfc.node (py380) master ✱
sapnwrfc.node:
@rpath/sapnwrfc.node (compatibility version 0.0.0, current version 0.0.0)
@loader_path/libsapnwrfc.dylib (compatibility version 0.0.0, current version 0.0.0)
@loader_path/libsapucum.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 902.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.100.1)
- Add $SAPNWRFC_HOME/lib to DYLD_FALLBACK_LIBRARY_PATH
$ export DYLD_FALLBACK_LIBRARY_PATH=$SAPNWRFC_HOME/lib
//alak
Comments
Post a Comment