question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

not working on alpine

See original GitHub issue

Dockerfile

FROM node:7.5-alpine
RUN apk add --no-cache libcurl
RUN npm install node-libcurl
RUN  echo "require('node-libcurl')"|node

docker build .

...
module.js:598
  return process.dlopen(module, path._makeLong(filename));
                 ^

Error: Error relocating /node_modules/node-libcurl/lib/binding/node_libcurl.node: __vsnprintf_chk: symbol not found
    at Object.Module._extensions..node (module.js:598:18)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/node_modules/node-libcurl/lib/Easy.js:40:29)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:22 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
dcharbonniercommented, Mar 1, 2017

Not a big deal for me anymore I removed the node-libcurl dependency but you should mention on the readme that npm install may not work on some systems, depending on the ssl version they have and that there is no compatibility with alpine. That could help people deciding to not use this library if they plan to use docker at some point, otherwise this lib is amazing.

1reaction
OnArscommented, May 30, 2017

@dcharbonnier @JCMais is there any solution?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docker alpine image's basic commands are not working
After this go into the alpine-openssh directory and build the container with: docker build -t alpine-openssh . Mine produces the following:
Read more >
Running in alpine does not working · Issue #3703 - GitHub
What steps will reproduce the problem? Dockerfile. FROM node:10-alpine # Installs latest Chromium (68) package. RUN apk update ...
Read more >
CarPlay Mysteriously Broken Down on Alpine Head Units ...
Just head over to Settings > Accessibility > Siri and look for the Spoken Responses entry. Switch it to Always, and everything should...
Read more >
CarPlay isn't working on alpine ilx-507 : r/CarAV - Reddit
When I first got my ilx-507 installed, the wireless CarPlay worked immediately and next time I turned the car on it connected up...
Read more >
Post Installation Recommendations
Now that your installation of Alpine Linux is up and running, you can start working with it. The following sections will provide a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found