Title: Issue · GitHub
Open Graph Title: Issue · nodegit/nodegit
X Title: Issue · nodegit/nodegit
Description: Native Node bindings to Git. Contribute to nodegit/nodegit development by creating an account on GitHub.
Open Graph Description: Native Node bindings to Git. Contribute to nodegit/nodegit development by creating an account on GitHub.
X Description: Native Node bindings to Git. Contribute to nodegit/nodegit development by creating an account on GitHub.
Opengraph URL: https://github.com/nodegit/nodegit
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Wrong libcurl version on arch-linux","articleBody":"Installing nodegit on archlinux failes while building with:\r\n\r\n```\r\nError: /usr/lib/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by node_modules/nodegit/build/Release/nodegit.node)\r\n```\r\n\r\nI think this was introduced by PR https://github.com/nodegit/nodegit/pull/1195\r\n\r\nThe issue is, that nodegit wants [libcurl abi-3](https://curl.haxx.se/libcurl/abi.html), while archlinux default `libcurl` is abi-4.\r\n\r\n## How to fix \r\nAt least on arch-linux nodegit should link against libcurl-compat (which is abi-3 and provides `libcurl.so.3` ~~as well as `libcurl-compat.so`~~), not libcurl (which is abi-4 and is incompatible with `CURL_OPENSSL_3`).\r\n\r\n## How to reproduce\r\n* Grab and boot a manjaro live-cd (https://manjaro.github.io/), which should be easier/faster then bootstrapping arch\r\n* Install nodejs with pacman/yaourt\r\n* Try to install nodegit with npm\r\n\r\n## Sidenote\r\nEffected third-party tools are for example [GitKraken](https://aur.archlinux.org/packages/gitkraken/) on arch (see comments) which comes with prebuild nodegit binaries but fails to load because of missing/wrong symbols in libcurl.so.4. This can be fixed by loading libcurl-compat before libcurl using the `LD_PRELOAD` trick.","author":{"url":"https://github.com/Hufschmidt","@type":"Person","name":"Hufschmidt"},"datePublished":"2017-02-16T08:51:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/1225/nodegit/issues/1225"}
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:19305761-2f6e-7e74-28e8-f27908f19c05 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 93C8:98987:40E71F:585257:6A5FCB2B |
| html-safe-nonce | 29d6342c7bc351691fb0cec8fbb3b2d6b29fa9e92b0b9ce5a046c855f51fecc1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0M4Ojk4OTg3OjQwRTcxRjo1ODUyNTc6NkE1RkNCMkIiLCJ2aXNpdG9yX2lkIjoiOTEwNjc4NzcwMjYwMDA5MjQ1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a5479968229176115dce9fdf22df92414c6d6780af0febd1d085a9c2b64a7da2 |
| hovercard-subject-tag | repository:1383170 |
| 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/nodegit/nodegit/issues/1225 |
| twitter:image | https://opengraph.githubassets.com/293c0de3212fe571b9ed383d48cdf68ced8b044ca122d18e7c6b47bd5193609e/nodegit/nodegit |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/293c0de3212fe571b9ed383d48cdf68ced8b044ca122d18e7c6b47bd5193609e/nodegit/nodegit |
| og:image:alt | Native Node bindings to Git. Contribute to nodegit/nodegit development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8b098704642cd5473d3dc9d5d8023399a68de27a0492776c4517d75af6710ead |
| turbo-cache-control | no-cache |
| 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 | d9cb40632285451ad16923c07a6f2debe8279086 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width