Skip to content

Instantly share code, notes, and snippets.

@amcintyre99
Created April 30, 2013 01:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amcintyre99/5486102 to your computer and use it in GitHub Desktop.
Save amcintyre99/5486102 to your computer and use it in GitHub Desktop.
with the library from my odbcinst.ini file:
odbc.library = '/fast/db2inst1/sqllib/lib/libdb2.so'
i get this:
=======================
node-odbc: error loading ODBC library: /fast/db2inst1/sqllib/lib/libdb2.so.so: cannot open shared object file: No such file or directory
/home/andrew/dma/prd/node_modules/odbc/lib/odbc.js:48
throw new Error("Could not load library. You may need to specify full "
^
Error: Could not load library. You may need to specify full path.
=======================
ok, no problem so taking off the so:
odbc.library = '/fast/db2inst1/sqllib/lib/libdb2'
i get this (gets around the 1st msg above but still won't load)
=======================
/home/andrew/dma/prd/node_modules/odbc/lib/odbc.js:48
throw new Error("Could not load library. You may need to specify full "
^
Error: Could not load library. You may need to specify full path.
=======================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment