Prisma unable to load glibc with 3.0.1
See original GitHub issueBug description
After updating Prisma from 3.0.0 to 3.0.1, I started getting TypeScript errors about .prisma/client locally (not on CI), so I thought I’d manually run npx prisma generate but it throws an error:
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Error: Unable to require(`/home/linux/Documents/prisma-api/node_modules/prisma/libquery_engine-debian-openssl-1.1.x.so.node`)
/snap/core/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /lib/x86_64-linux-gnu/libcrypto.so.1.1)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Locally I use Ubuntu. In the changelog I saw something about RHEL, so could be related?
How to reproduce
- Update Prisma from 2.30.3 to 3.0.0
- Run npx prisma generate
- See above error
Expected behavior
No error.
Prisma information
No problem related to my prisma schema or queries
Environment & setup
- OS: Ubuntu 20.04
- Database: PostgresQL
- Node.js version: 14.17.3
Prisma Version
v3.0.0
Other Information
Checking my libc version by running file /snap/core/current/lib/x86_64-linux-gnu/libc.so.6
in terminal
Result :
/snap/core/current/lib/x86_64-linux-gnu/libc.so.6: symbolic link to libc-2.23.so
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:18 (8 by maintainers)
Top Results From Across the Web
Error: Unable to require(`/node_modules/prisma ...
response: yarn run v1.22.18 $ /node_modules/.bin/prisma generate Environment variables loaded from .env Prisma schema loaded from src/infra ...
Read more >GLIBC_2.33 version in not find in Ubuntu 22.04 - Stack Overflow
I recently work with Prisma for my frontend project. then I find the error. List all commands which I run to solve the...
Read more >GLIBC version problem - Red Hat Customer Portal
The problem with this is that in RHEL 7.x, the libc RPM package is glibc-2.17-.el7.x86_64.rpm, and it includes both /lib64/libc.so.
Read more >[Test] Prisma TypeScript #16450 - Buildkite
Failed in 3m 56s ./.buildkite/test/buildkite-entry.sh. :coverage: Test - Node 14 (Search for `BUILDKITE_PARALLEL_JOB` in test output for ...
Read more >Bug listing with status RESOLVED with resolution OBSOLETE ...
... Bug:195942 - "sys-libs/glibc fails parallel make - iconv_charmap.o - make[2]: *** No rule to make target" status:RESOLVED resolution:OBSOLETE severity: ...
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
Switching back to the old engine “solves” it for us too.
Ok, I reopen the issue for a better solution