{"action":"created","issue":{"url":"https://api.github.com/repos/ibmdb/node-ibm_db/issues/436","repository_url":"https://api.github.com/repos/ibmdb/node-ibm_db","labels_url":"https://api.github.com/repos/ibmdb/node-ibm_db/issues/436/labels{/name}","comments_url":"https://api.github.com/repos/ibmdb/node-ibm_db/issues/436/comments","events_url":"https://api.github.com/repos/ibmdb/node-ibm_db/issues/436/events","html_url":"https://github.com/ibmdb/node-ibm_db/issues/436","id":346166019,"node_id":"MDU6SXNzdWUzNDYxNjYwMTk=","number":436,"title":"Problem when installing with no internet connection","user":{"login":"vincenthodicq","id":38909011,"node_id":"MDQ6VXNlcjM4OTA5MDEx","avatar_url":"https://avatars1.githubusercontent.com/u/38909011?v=4","gravatar_id":"","url":"https://api.github.com/users/vincenthodicq","html_url":"https://github.com/vincenthodicq","followers_url":"https://api.github.com/users/vincenthodicq/followers","following_url":"https://api.github.com/users/vincenthodicq/following{/other_user}","gists_url":"https://api.github.com/users/vincenthodicq/gists{/gist_id}","starred_url":"https://api.github.com/users/vincenthodicq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincenthodicq/subscriptions","organizations_url":"https://api.github.com/users/vincenthodicq/orgs","repos_url":"https://api.github.com/users/vincenthodicq/repos","events_url":"https://api.github.com/users/vincenthodicq/events{/privacy}","received_events_url":"https://api.github.com/users/vincenthodicq/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-07-31T12:29:50Z","updated_at":"2018-10-08T14:38:09Z","closed_at":"2018-09-11T12:51:15Z","author_association":"NONE","body":"Hi,\r\n\r\nthis issue is related to #424 issue that was closed a few weeks back. With advices from @bimalkjha, installation of ibm_db is succesful on a server without internet connection using following commands:\r\n`export IBM_DB_INSTALLER_URL=`\r\n`export IBM_DB_HOME=/opt/clidriver/`\r\n`npm install --nodedir=/home/myuser/.node-gyp/6.9.5/`\r\n\r\nNo error after npm install commands. But when launching our application, there are some missing files from ibm_db install directory:\r\n```\r\n[myuser@myserver myapp]$ node app.js\r\n[2018-07-31 14:24:19.328] [WARN] log4js - Ignoring configuration reload parameter for \"object\" configuration.\r\n/opt/myapp/node_modules/ibm_db/node_modules/bindings/bindings.js:83\r\n        throw e\r\n        ^\r\n\r\nError: libdb2.so.1: cannot open shared object file: No such file or directory\r\n    at Error (native)\r\n    at Object.Module._extensions..node (module.js:597:18)\r\n    at Module.load (module.js:487:32)\r\n    at tryModuleLoad (module.js:446:12)\r\n    at Function.Module._load (module.js:438:3)\r\n    at Module.require (module.js:497:17)\r\n    at require (internal/module.js:20:19)\r\n    at bindings (/opt/myapp/node_modules/ibm_db/node_modules/bindings/bindings.js:76:44)\r\n    at Object.<anonymous> (/opt/myapp/node_modules/ibm_db/lib/odbc.js:27:31)\r\n    at Module._compile (module.js:570:32)\r\n```\r\n\r\n\r\nWhen installing ibm_db on a server with internet connection, no issue, no missing file.\r\n\r\nThanks in advance for your help."},"comment":{"url":"https://api.github.com/repos/ibmdb/node-ibm_db/issues/comments/427860486","html_url":"https://github.com/ibmdb/node-ibm_db/issues/436#issuecomment-427860486","issue_url":"https://api.github.com/repos/ibmdb/node-ibm_db/issues/436","id":427860486,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzg2MDQ4Ng==","user":{"login":"vincenthodicq","id":38909011,"node_id":"MDQ6VXNlcjM4OTA5MDEx","avatar_url":"https://avatars1.githubusercontent.com/u/38909011?v=4","gravatar_id":"","url":"https://api.github.com/users/vincenthodicq","html_url":"https://github.com/vincenthodicq","followers_url":"https://api.github.com/users/vincenthodicq/followers","following_url":"https://api.github.com/users/vincenthodicq/following{/other_user}","gists_url":"https://api.github.com/users/vincenthodicq/gists{/gist_id}","starred_url":"https://api.github.com/users/vincenthodicq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincenthodicq/subscriptions","organizations_url":"https://api.github.com/users/vincenthodicq/orgs","repos_url":"https://api.github.com/users/vincenthodicq/repos","events_url":"https://api.github.com/users/vincenthodicq/events{/privacy}","received_events_url":"https://api.github.com/users/vincenthodicq/received_events","type":"User","site_admin":false},"created_at":"2018-10-08T14:38:09Z","updated_at":"2018-10-08T14:38:09Z","author_association":"NONE","body":"I was setting IBM_DB_INSTALLER_URL to void to be sure to use IBM_DB_HOME var. \r\n\r\nLD_LIBRARY_PATH is not set after installation of ibm_db. After running setenv.sh script, variable is set."}}
{"actor":{"display_login":"vincenthodicq"}}