Skip to content

runtime err on startup: dyld: Symbol not found: _usdt_create_provider #118

@thom-nic

Description

@thom-nic
$npm tst
....

dyld: lazy symbol binding failed: Symbol not found: _usdt_create_provider
  Referenced from: PROJECT/node_modules/bunyan/node_modules/dtrace-provider/build/Release/DTraceProviderBindings.node
  Expected in: flat namespace

dyld: Symbol not found: _usdt_create_provider
  Referenced from: PROJECT/node_modules/bunyan/node_modules/dtrace-provider/build/Release/DTraceProviderBindings.node
  Expected in: flat namespace

$ npm ls dtrace-provider
PROJECT
└─┬ [email protected]
  └─┬ [email protected]
    └── [email protected] 

$ uname -a
Darwin HOSTNAME 17.5.0 Darwin Kernel Version 17.5.0 

$node --version
v8.9.3

High Sierra 10.13.4. This actually started breaking after I upgraded some packages that depend on node-pre-gyp. I've tried deleting node_modules and re-installing; builds fine. Most frustrating, I can't seem to exclude it with npm i --no-optional. I can only find one other reference to this issue at hexojs/hexo#2803 and they "fixed" it by forking bunyan and removing the dependency on dtrace-provider :(

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