Closed ayvamit closed 1 year ago
@ayvamit Please uninstall and install db2connect extension again. I have pushed the changes with correct libdb2.dylib path which should fix this problem. Thanks.
Or just try View -> Command Palette -> Db2: Rebuild Native Modules
option and it should fix the issue. Thanks.
It works now... Thank you @bimalkjha
Steps to Reproduce:
Error: dlopen(/Users/amityadav/.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: <057C4266-A5A0-35A5-8D56-81470EFC0B46> /Users/amityadav/.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), '/System/Volumes/Preboot/Cryptexes/OS/Users/bjha/nodework/clidriver/lib/libdb2.dylib' (no such file), '/Users/bjha/nodework/clidriver/lib/libdb2.dylib' (no such file), '/usr/lib/libdb2.dylib' (no such file, not in dyld cache)
I have tried command palette DB2: Rebuild Native Module option but same error as mentioned.
Following is output of DB2 Connect: