Error loading shared library ld-linux-x86-64.so.2 on Alpine
See original GitHub issueWhat version of Next.js are you using?
12.0.2
What version of Node.js are you using?
16.x
What browser are you using?
none
What operating system are you using?
alpine
How are you deploying your application?
next build
Describe the Bug
next 12.0.2 app is failing to build on Alpine linux with following error. It was first appeared in 12.0.0, then fixed in 12.0.1. Now it’s back in 12.0.2.
Error: Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by ....)
Expected Behavior
next build should work
To Reproduce
create next app using 12.0.2, then try to build on Alpine linux.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:20
- Comments:44 (15 by maintainers)
Top Results From Across the Web
Error loading shared library ld-linux-x86-64.so.2 - Julien Voisin
Error loading shared library ld-linux-x86-64.so.2: on Alpine Linux ... Since I've encountered this issue so much, here is how to fix it:.
Read more >lib64/ld-linux-x86-64.so.2: No such file or directory error
If the elasticsearch distribution you are trying to install is for x86_64, then it attempts to link to the x86-64-native ld.so, ...
Read more >Virgil crypto on Alpine linux v3.8
Let's look at the following error message: Error loading shared library ld-linux-x86-64.so.2 . We need to figure out where ld-linux-x86-64.so.2 file resides.
Read more >Alpine Linux packages
File, Package, Branch, Repository, Architecture. /lib/ld-linux-x86-64.so.2, gcompat, edge, community · x86_64. /lib64/ld-linux-x86-64.so.2, gcompat, edge ...
Read more >Running Spark in Docker image with Alpine Linux 3.9.0 ...
... /tmp/snappy-1.1.7-2b4872f1-7c41-4b84-bda1-dbcb8dd0ce4c-libsnappyjava.so: Error loading shared library ld-linux-x86-64.so.2: Noded by ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for confirming @mtsewrs, we’ll get it out on stable soon (today/tomorrow) 👍 Going to close this issue as we close issues when the fix has landed 👍
Can this be re-opened?
on 12.0.2 Docker image: node:14.18.1-alpine