Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Error: error:25066067:DSO support routines:dlfcn_load:could not load the shared library #1755

Closed
miladezzat opened this issue Jun 8, 2022 · 4 comments

Comments

@miladezzat
Copy link

Error: error:25066067:DSO support routines:dlfcn_load:could not load the shared library
    at Sign.sign (node:internal/crypto/sig:131:29)
    at Object.sign (/media/milad/0063baf0-8e25-49ab-9434-8d20c8d89afe/milad/shariiky/api/node_modules/jwa/index.js:152:45)
    at Object.jwsSign [as sign] (/media/milad/0063baf0-8e25-49ab-9434-8d20c8d89afe/milad/shariiky/api/node_modules/jws/lib/sign-stream.js:32:24)
    at Object.module.exports [as sign] (/media/milad/0063baf0-8e25-49ab-9434-8d20c8d89afe/milad/shariiky/api/node_modules/jsonwebtoken/sign.js:204:16)
    at ServiceAccountCredential.createAuthJwt_ (/media/milad/0063baf0-8e25-49ab-9434-8d20c8d89afe/milad/shariiky/api/node_modules/firebase-admin/lib/app/credential-internal.js:105:20)
    at ServiceAccountCredential.getAccessToken (/media/milad/0063baf0-8e25-49ab-9434-8d20c8d89afe/milad/shariiky/api/node_modules/firebase-admin/lib/app/credential-internal.js:77:26)
    at FirebaseAppInternals.refreshToken (/media/milad/0063baf0-8e25-49ab-9434-8d20c8d89afe/milad/shariiky/api/node_modules/firebase-admin/lib/app/firebase-app.js:47:49)
    at FirebaseAppInternals.getToken (/media/milad/0063baf0-8e25-49ab-9434-8d20c8d89afe/milad/shariiky/api/node_modules/firebase-admin/lib/app/firebase-app.js:38:25)
    at AuthorizedHttpClient.getToken (/media/milad/0063baf0-8e25-49ab-9434-8d20c8d89afe/milad/shariiky/api/node_modules/firebase-admin/lib/utils/api-request.js:679:34)
    at AuthorizedHttpClient.send (/media/milad/0063baf0-8e25-49ab-9434-8d20c8d89afe/milad/shariiky/api/node_modules/firebase-admin/lib/utils/api-request.js:667:21) {
  opensslErrorStack: [
    'error:0E076071:configuration file routines:module_run:unknown module name',
    'error:0E07506E:configuration file routines:module_load_dso:error loading dso',
    'error:25070067:DSO support routines:DSO_load:could not load the shared library'
  ],
  library: 'DSO support routines',
  function: 'dlfcn_load',
  reason: 'could not load the shared library',
  code: 'ERR_OSSL_DSO_COULD_NOT_LOAD_THE_SHARED_LIBRARY'
}

OS: Ubuntu 22.4
firebase-admin: 10.2.0

@google-oss-bot
Copy link

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

@lahirumaramba
Copy link
Member

Could be related to this auth0/node-jsonwebtoken#826 (comment)
Looks like for openssl v3 you need to use node v18. There is a workaround mentioned in the link above.

@miladezzat
Copy link
Author

Hello @lahirumaramba
no, It's related to this nodejs/node#43132
and this is the solution
nodejs/node#43132 (comment)

@lahirumaramba
Copy link
Member

Thanks @miladezzat ! I will convert this to a discussion as it might help others having the same issue.

@firebase firebase locked and limited conversation to collaborators Jun 9, 2022
@lahirumaramba lahirumaramba converted this issue into discussion #1756 Jun 9, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

3 participants