Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 22 build failure: prisma debian-openssl-3.0.x/query-engine.gz not found #81

Closed
ckgt opened this issue May 1, 2022 · 1 comment
Assignees
Labels
kind/bug Something isn't working

Comments

@ckgt
Copy link

ckgt commented May 1, 2022

Describe the bug
Prisma-client can't download. File not found. pnpm prep fails building prisma-client-rust.

Prisma client downloader picks the system openssl version. Ubuntu 22 repos use openssl 3.0.
Prisma has not released an official openssl 3.0 query-engine build yet. Step fails, can't do prisma generation.

To Reproduce
Build on ubuntu 22
node: 16.15 +
npm: 8.5.5 +

Steps to reproduce the behavior:

  1. Follow contributing local build steps
  2. pnpm prep
  3. prisma-client-rust fails with debian-openssl-3.0.x/query-engine.gz file not found error.

Expected behavior
Expected successful compilation of project.

Desktop:

  • OS: Ubuntu 22.04 LTS

Mitigation

  • Change this function to return "1.1.x".
  • Download Openssl 1.1.1n.tar.gz
  • configure; make; make install (backup your libssl.so and libcrypto.so symlinks before)
  • Make sure the libssl.so.1.1 and libcrypto.so.1.1 objects are symlinked in your system lib folder for libssl.so and libcrypto.so. Make sure to undo this when you're done.

You should link against the 1.1 .a libs instead for a more permanent solution.

@Brendonovich
Copy link
Member

Moving to Prisma Client Rust

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants