Closed gcmanriq closed 2 years ago
Having the exact same problem, looking forward to hearing about a solution.
DB2Connect log
Successfully renamed the Electron binary Error: dlopen(/Users/rb653/.vscode/extensions/ibm.db2connect-2.3.0/node_modules/ibm_db/build/Release/odbc_bindings.node, 0x0001): Library not loaded: /Users/bjha/nodework/clidriver/lib/libdb2.dylib Referenced from: /Users/rb653/.vscode/extensions/ibm.db2connect-2.3.0/node_modules/ibm_db/build/Release/odbc_bindings.node Reason: tried: '/Users/bjha/nodework/clidriver/lib/libdb2.dylib' (no such file), '/usr/lib/libdb2.dylib' (no such file)
@BjarniThor @gcmanriq I have just pushed the fix of this issue. In your vscode, click on View -> Command Palette -> Db2: Rebuild Native Module and issue should get fixed. Please try and update. Thanks.
Very well done, confirmed working for me! Thanks you.
It is working, thanks!
Steps to Reproduce:
/Users/xxxxxx/.vscode/extensions/ibm.db2connect-2.3.0/node_modules/ibm_db/installer/clidriver Extraction of build.zip completed successfully...
Successfully renamed the Electron binary Error: dlopen(/Users/xxxxxx/.vscode/extensions/ibm.db2connect-2.3.0/node_modules/ibm_db/build/Release/odbc_bindings.node, 0x0001): Library not loaded: '/Users/bjha/nodework/clidriver/lib/libdb2.dylib' Referenced from: '/Users/xxxxxx/.vscode/extensions/ibm.db2connect-2.3.0/node_modules/ibm_db/build/Release/odbc_bindings.node' Reason: tried: '/Users/bjha/nodework/clidriver/lib/libdb2.dylib' (no such file), '/usr/lib/libdb2.dylib' (no such file)