google-code-export / ibm-db

Automatically exported from code.google.com/p/ibm-db
1 stars 0 forks source link

Run ibm_db on Mac OS X with error #160

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install DB2 Express C on Mac OS X Mavericks
2. Set variables to
IBM_DB_HOME=/opt/IBM/db2/V10.1/include
LD_LIBRARY_PATH=/Users/Stepan/Documents/PROJECTS/odbc_cli/clidriver/lib:/opt/IBM
/db2/V10.1/lib64
DYLD_LIBRARY_PATH=/opt/IBM/db2/V10.1/lib64
3. Install ibm_db with errors (attach "log1.txt")

What is the expected output? What do you see instead?

When I try run sample for connect to db2, I see error

ode /Users/Stepan/Documents/PROJECTS/nodedb2.js
Test program to access DB2 sample database
dyld: lazy symbol binding failed: Symbol not found: _SQLAllocHandle
  Referenced from: /Users/Stepan/node_modules/ibm_db/build/Release/odbc_bindings.node
  Expected in: dynamic lookup

dyld: Symbol not found: _SQLAllocHandle
  Referenced from: /Users/Stepan/node_modules/ibm_db/build/Release/odbc_bindings.node
  Expected in: dynamic lookup

What version of the product are you using? On what operating system?
Mac OS X Mavericks
Python 2.7.5
node v0.10.23
DB2 Express-C database server for Mac OS X
English
2012-12-10

Original issue reported on code.google.com by S.Pyri...@gmail.com on 20 Jul 2014 at 7:55

Attachments:

GoogleCodeExporter commented 9 years ago
This issue is related to node.js ibm_db driver, you can raise your issue 
https://groups.google.com/forum/#!forum/node-ibm_db or 
https://github.com/ibmdb/node-ibm_db/issues

Original comment by rahul.pr...@in.ibm.com on 22 Jul 2014 at 6:47