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.

Symbol not found in alpine

See original GitHub issue

Hi there, code-server2.1698-vsc1.41.1-alpine-x86_64 unable to run in Alpine Linux 3.9 with the following error

~ # ./code-server -h
Error relocating ./code-server: _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev: symbol not found
Error relocating ./code-server: _ZNSt19_Sp_make_shared_tag5_S_eqERKSt9type_info: symbol not found
Error relocating ./code-server: _ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev: symbol not found

code-server2.1692-vsc1.39.2-alpine-x86_64 works well.

~ # code-server --version
info  2.1692-vsc1.39.2
info  e14362f3224c101585a26bf7ee5fa6e3bf425046
info  x64

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
nhooyrcommented, Mar 27, 2020

Looks like there’s been confusion regarding libc-dev. I don’t think that installs glibc or would help with this issue. I think that was my bad. I think the best approach here is to solve #1396 instead of adding an alpine release but whatever you think is best @code-asher

1reaction
nhooyrcommented, Mar 28, 2020

We wouldn’t include the native node modules, they’d be built by node when fetched.

Read more comments on GitHub >

github_iconTop Results From Across the Web

symbol not found / error while loading shared libraries: libz.so ...
Trying to build a minimal image. Works with debian:stretch, but size is x10 versus alpine. (All via Dockerfile build). Initially: Command not ......
Read more >
Alpine docker image __isnan: symbol not found - Stack Overflow
Alpine has a modified system C library that can lead to incompatibilities like this. Can you use a debian or ubuntu image as...
Read more >
"symbol not found" errors (docker, edge, armv7) - alpine · GitLab
I am trying to use the alpine:edge docker image in order to use the iproute2-tc package. However, when moving from alpine:3.12 to alpine:edge ......
Read more >
Failed to run curl 7.83.0 on alpine - Super User
Have you try an apk update and apk upgrade to fix missing librairies ? ... relocating /usr/bin/curl: curl_mime_type: symbol not found Error ...
Read more >
Error relocating beam.smp: pthread_getname_np: symbol not ...
Docker image: Error relocating beam.smp: pthread_getname_np: symbol not found ... It seems that it is because the alpine version we use in the ......
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