Skip to content

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

@laneme

Description

@laneme

Environment

  • Operating System version: Ubuntu 21.4
  • Firebase SDK version: [email protected]
  • Firebase Product: admin.auth
  • Node.js version: 16.15
  • NPM version: 7.12.1
  • Yarn version: 1.12.19 (i use yarn)

The problem

import admin from 'firebase-admin'
admin.auth().createCustomToken(stringID, {
    id: stringID, 
}) // throws the error below
 Error: error:25066067:DSO support routines:dlfcn_load:could not load the shared library
    at Sign.sign (node:internal/crypto/sig:131:29)
    at ServiceAccountSigner.sign (/node_modules/firebase-admin/lib/utils/crypto-signer.js:65:37)
    at /node_modules/firebase-admin/lib/auth/token-generator.js:135:44
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    // removed unimportant error lines from my own code
  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'
}

Steps to reproduce:

Unfornutately I cannot find a way to reproduce this issue accross platforms. I ran it in a different system, even with the same lock file, i cannot reproduce it. I do think that the problem is tied to my own system. I just dont know where to look.

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