Skip to content

Error: libdlib.so.19.8.0: cannot open shared object file: No such file or directory #162

@ajaylg

Description

@ajaylg

Hi @justadudewhohacks ,

I’m doing simple face recognition NodeJS API using your source code face-recognition.js. Now I facing some issue while creating face descriptor. This API works well and creates Face descriptors while running in Local Host, but when I try to deploy this NodeJS app to Heroku it throws some error log like this. Can you guide us on this?

Heroku Error Log:

internal/modules/cjs/loader.js:807
return process.dlopen(module, path.toNamespacedPath(filename));
^
Error: libdlib.so.19.8.0: cannot open shared object file: No such file or directory
at Object.Module._extensions..node (internal/modules/cjs/loader.js:807:18)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/app/node_modules/face-recognition/lib/fr.js:6:8)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions