Posts

Showing posts from September, 2020

Compiling and Testing sflightClient Demo Application on MacOS 10.15.6 after Installing SAP NW RFC SDK 7.50 PL6

  Just my own notes: Ref: 2573790 - Installation, Support and Availability of the SAP NetWeaver RFC Library 7.50 2573953 - Compiling and Linking RFC Programs with the SAP NetWeaver RFC SDK 7.50 Compiling: cd demo/ clang++ -std=c++11 -DSAPwithUNICODE -I../include -c -o sflightClient.o sflightClient.c clang++ -o sflightClient sflightClient.o ../lib/libsapnwrfc.dylib ../lib/libsapucum.dylib And running it: awes0me@Niks-MacBook-Pro demo % ./sflightClient /H/saprouter.com/S/3299/H/172.16.10.71 00 BPINST Welcome1 100 EN Logging in...  ...done Caching DDIC metadata...  ...done Please select an Airline: AA     American Airlines AB     Air Berlin AC     Air Canada AF     Air France AZ     Alitalia BA     British Airways CO     Continental Airlines DL     Delta Airlines FJ     Air Pacific JL     Japan Airlines LH     Lufthansa NG     Lauda Air NW     Northwest Airlines QF     Qantas Airways SA     South African Air. SQ     Singapore Airlines SR     Swiss UA     United Airlines *      All > Pl

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 \b inding $ 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