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

Prisma cannot find the required libssl system library in your system. Please install openssl-1.1.x and try again. #20686

Closed
LogicNovaX opened this issue Aug 14, 2023 · 3 comments
Labels
bug/0-unknown Bug is new, does not have information for reproduction or reproduction could not be confirmed. domain/client Issue in the "Client" domain: Prisma Client, Prisma Studio etc. kind/bug A reported bug. topic: openssl

Comments

@LogicNovaX
Copy link

LogicNovaX commented Aug 14, 2023

Bug description

[ERROR] (PRISMA) $queryRaw 
Invalid `prisma.$queryRaw()` invocation:


Unable to require(`/home/runner/bot/node_modules/.prisma/client/libquery_engine-debian-openssl-1.1.x.so.node`).
Prisma cannot find the required `libssl` system library in your system. Please install openssl-1.1.x and try again.

Details: libssl.so.1.1: cannot open shared object file: No such file or directory
 14/08/23 14:23:35  [NOTICE] Discord Tickets v4.0.8 on Node.js v18.12.1 (linux)
 14/08/23 14:23:35  [WARN] Unhandled promise rejection (PrismaClientInitializationError)
 14/08/23 14:23:35  [ERROR] PrismaClientInitializationError: 
Invalid `prisma.$queryRaw()` invocation:


Unable to require(`/home/runner/bot/node_modules/.prisma/client/libquery_engine-debian-openssl-1.1.x.so.node`).
Prisma cannot find the required `libssl` system library in your system. Please install openssl-1.1.x and try again.

Details: libssl.so.1.1: cannot open shared object file: No such file or directory
    at Rn.handleRequestError (/home/runner/bot/node_modules/@prisma/client/runtime/library.js:174:7601)
    at Rn.handleAndLogRequestError (/home/runner/bot/node_modules/@prisma/client/runtime/library.js:174:6754)
    at /home/runner/bot/node_modules/@prisma/client/runtime/library.js:177:3010
    at async /home/runner/bot/node_modules/@prisma/client/runtime/library.js:177:3225
    at async Proxy._executeRequest (/home/runner/bot/node_modules/@prisma/client/runtime/library.js:177:11403)
    at async module.exports (/home/runner/bot/src/lib/middleware/prisma-sqlite.js:44:15)
    at async Client.login (/home/runner/bot/src/client.js:77:19) {
  clientVersion: '4.16.2',
  errorCode: undefined
}

How to reproduce

Expected behavior

it should of worked but it didn't can anyone help

Prisma information

// Add your schema.prisma
// Add your code using Prisma Client

Environment & setup

  • OS:
  • Database:
  • Node.js version:

Prisma Version


@LogicNovaX LogicNovaX added the kind/bug A reported bug. label Aug 14, 2023
@Jolg42
Copy link
Contributor

Jolg42 commented Aug 15, 2023

@LogicNovaX It looks like you did not fill in the issue template, could you add the missing info?

@Jolg42 Jolg42 changed the title New error Prisma cannot find the required libssl system library in your system. Please install openssl-1.1.x and try again. Aug 15, 2023
@SevInf SevInf added bug/0-unknown Bug is new, does not have information for reproduction or reproduction could not be confirmed. domain/client Issue in the "Client" domain: Prisma Client, Prisma Studio etc. topic: openssl labels Aug 15, 2023
@Jolg42
Copy link
Contributor

Jolg42 commented Nov 1, 2023

@LogicNovaX Did you see my previous message? Without any activity on this issue, we would later close it as part of our issue process.

@millsp
Copy link
Member

millsp commented Nov 7, 2023

Hey @LogicNovaX, without your input we cannot move this issue forward, so I am closing it. Please provide us with the missing information so we understand how to treat this, and we will happily re-open it.

@millsp millsp closed this as not planned Won't fix, can't repro, duplicate, stale Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/0-unknown Bug is new, does not have information for reproduction or reproduction could not be confirmed. domain/client Issue in the "Client" domain: Prisma Client, Prisma Studio etc. kind/bug A reported bug. topic: openssl
Projects
None yet
Development

No branches or pull requests

4 participants