Skip to content

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

Description

@miladezzat
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

Activity

  1. google-oss-bot commented on Jun 8, 2022

    @google-oss-bot

    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.
  2. lahirumaramba commented on Jun 8, 2022

    @lahirumaramba
    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.

  3. miladezzat commented on Jun 8, 2022

    @miladezzat
    Author

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

  4. lahirumaramba commented on Jun 9, 2022

    @lahirumaramba
    Member

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

  5. locked and limited conversation to collaborators on Jun 9, 2022
  6. converted this issue into a discussion #1756 on Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions