Title: Unable to install nodegit#v0.23.0 on Node 10 · Issue #1581 · nodegit/nodegit · GitHub
Open Graph Title: Unable to install nodegit#v0.23.0 on Node 10 · Issue #1581 · nodegit/nodegit
X Title: Unable to install nodegit#v0.23.0 on Node 10 · Issue #1581 · nodegit/nodegit
Description: Hi folks, I'm running nodegit on my machine and was really happy to see support for node 10! Sadly, I'm unable to install it. Can someone please help me with some ideas on how to fix it? System information node version: 10.13.0 npm or ya...
Open Graph Description: Hi folks, I'm running nodegit on my machine and was really happy to see support for node 10! Sadly, I'm unable to install it. Can someone please help me with some ideas on how to fix it? System inf...
X Description: Hi folks, I'm running nodegit on my machine and was really happy to see support for node 10! Sadly, I'm unable to install it. Can someone please help me with some ideas on how to fix it? Sy...
Opengraph URL: https://github.com/nodegit/nodegit/issues/1581
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to install nodegit#v0.23.0 on Node 10","articleBody":"Hi folks,\r\n\r\nI'm running nodegit on my machine and was really happy to see support for node 10!\r\nSadly, I'm unable to install it. Can someone please help me with some ideas on how to fix it?\r\n\r\n## System information\r\n - node version: 10.13.0\r\n - npm or yarn version: 6.4.1\r\n - OS/version/architechture: Linux, Fedora 28 64-bit\r\n - Applicable nodegit version: 0.23.0\r\n\r\n```\r\n$\u003e ls -l /usr/lib64/libssl*\r\n-rwxr-xr-x. 1 root root 360824 Sep 3 15:29 /usr/lib64/libssl3.so\r\nlrwxrwxrwx. 1 root root 16 Sep 20 15:46 /usr/lib64/libssl.so -\u003e libssl.so.1.1.0i\r\nlrwxrwxrwx. 1 root root 16 Apr 5 2018 /usr/lib64/libssl.so.10 -\u003e libssl.so.1.0.2o\r\n-rwxr-xr-x. 1 root root 471024 Apr 5 2018 /usr/lib64/libssl.so.1.0.2o\r\nlrwxrwxrwx. 1 root root 16 Sep 20 15:46 /usr/lib64/libssl.so.1.1 -\u003e libssl.so.1.1.0i\r\n-rwxr-xr-x. 1 root root 468080 Sep 20 15:46 /usr/lib64/libssl.so.1.1.0i\r\n```\r\n\r\n```\r\n$\u003e ls -l /usr/lib64/libcrypto*\r\nlrwxrwxrwx. 1 root root 19 Sep 20 15:46 /usr/lib64/libcrypto.so -\u003e libcrypto.so.1.1.0i\r\nlrwxrwxrwx. 1 root root 19 Apr 5 2018 /usr/lib64/libcrypto.so.10 -\u003e libcrypto.so.1.0.2o\r\n-rwxr-xr-x. 1 root root 2729216 Apr 5 2018 /usr/lib64/libcrypto.so.1.0.2o\r\nlrwxrwxrwx. 1 root root 19 Sep 20 15:46 /usr/lib64/libcrypto.so.1.1 -\u003e libcrypto.so.1.1.0i\r\n-rwxr-xr-x. 1 root root 2907248 Sep 20 15:46 /usr/lib64/libcrypto.so.1.1.0i\r\n```\r\n\r\n## Reproduce\r\n\r\nSimply run: `$\u003e npm install nodegit`\r\n\r\nOutput looks like:\r\n\r\n```\r\n\u003e nodegit@0.23.0 install /tmp/node_modules/nodegit\r\n\u003e node lifecycleScripts/preinstall \u0026\u0026 node lifecycleScripts/install\r\n\r\n[nodegit] Running pre-install script\r\n[nodegit] Running install script\r\nnode-pre-gyp\r\nWARN Using request for node-pre-gyp https download\r\n[nodegit] Success: \"/tmp/node_modules/nodegit/build/Release/nodegit.node\" is installed via remote\r\n[nodegit] Completed installation successfully.\r\n\r\n\u003e nodegit@0.23.0 postinstall /tmp/node_modules/nodegit\r\n\u003e node lifecycleScripts/postinstall\r\n\r\n[nodegit] WARN - Could not finish postinstall\r\n{ Error: Command failed: node \"/tmp/node_modules/nodegit/dist/nodegit.js\"\r\n/tmp/node_modules/nodegit/dist/nodegit.js:16\r\n throw ex;\r\n ^\r\n\r\nError: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory\r\n at Object.Module._extensions..node (internal/modules/cjs/loader.js:717:18)\r\n at Module.load (internal/modules/cjs/loader.js:598:32)\r\n at tryModuleLoad (internal/modules/cjs/loader.js:537:12)\r\n at Function.Module._load (internal/modules/cjs/loader.js:529:3)\r\n at Module.require (internal/modules/cjs/loader.js:636:17)\r\n at require (internal/modules/cjs/helpers.js:20:18)\r\n at Object.\u003canonymous\u003e (/tmp/node_modules/nodegit/dist/nodegit.js:12:12)\r\n at Module._compile (internal/modules/cjs/loader.js:688:30)\r\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)\r\n at Module.load (internal/modules/cjs/loader.js:598:32)\r\n\r\n at ChildProcess.exithandler (child_process.js:289:12)\r\n at ChildProcess.emit (events.js:182:13)\r\n at maybeClose (internal/child_process.js:962:16)\r\n at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)\r\n killed: false,\r\n code: 1,\r\n signal: null,\r\n cmd: 'node \"/tmp/node_modules/nodegit/dist/nodegit.js\"' }\r\n```\r\n\r\n\r\nAs you can see, I've installed `compat-openssl10` on my maschine (libssl.so.1.0.2) and `openssl` (libssl.so.1.1.0). But nodegit still asks for *libcrypto.so.1.0.0* and *libssl.so.1.0.0*. I do not know why. Where is my error?\r\n\r\nI've tried linking `ln -s /usr/lib64/libcrypto.so.1.0.2.0o /usr/lib64/libcrypto.so.1.0.0` (same for libssl), which leads to another error, telling me nodegit cannot find `OPENSSL_1.0.0` in `libssl.so.1.0.0` (which seems to be correct, since I've just linked 1.0.2 for it :-)). Any thoughts?","author":{"url":"https://github.com/mvhirsch","@type":"Person","name":"mvhirsch"},"datePublished":"2018-11-06T13:29:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/1581/nodegit/issues/1581"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:85b46696-e957-fc8e-be81-53bd57a055f3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 81BC:AA33E:14AE26:1B30F7:6A5FE7E5 |
| html-safe-nonce | 1cc59473f8c40ae0cddbfb4b8d552b826e2b210f301f5bc75c076b82bb80d1c5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUJDOkFBMzNFOjE0QUUyNjoxQjMwRjc6NkE1RkU3RTUiLCJ2aXNpdG9yX2lkIjoiNzI3NTUwNjQxNTE3MzAxNDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2758e45a8acbb890c89e96ceea595053437b4bac91b7b8398c6cfeeedd41ee7e |
| hovercard-subject-tag | issue:377846825 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodegit/nodegit/1581/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cab662afe525bd4fc8dcfa42631b73700d8b8cbaffb55e0d5c57f14f04a48cc0/nodegit/nodegit/issues/1581 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cab662afe525bd4fc8dcfa42631b73700d8b8cbaffb55e0d5c57f14f04a48cc0/nodegit/nodegit/issues/1581 |
| og:image:alt | Hi folks, I'm running nodegit on my machine and was really happy to see support for node 10! Sadly, I'm unable to install it. Can someone please help me with some ideas on how to fix it? System inf... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mvhirsch |
| hostname | github.com |
| expected-hostname | github.com |
| None | 78938542173c0d8e4ad1aefc7954896e81c10ce2620286603ef14cf593bd5a11 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodegit/nodegit git https://github.com/nodegit/nodegit.git |
| octolytics-dimension-user_id | 657068 |
| octolytics-dimension-user_login | nodegit |
| octolytics-dimension-repository_id | 1383170 |
| octolytics-dimension-repository_nwo | nodegit/nodegit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1383170 |
| octolytics-dimension-repository_network_root_nwo | nodegit/nodegit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1a427601e09953033b696253e754ebc7328096a7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width