-
Notifications
You must be signed in to change notification settings - Fork 68
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: failed to load DOF: No such file or directory" on enable() on FreeBSD/amd64 10.3 on node 8.10.0 #117
Comments
Hey @tcort Apologies I missed this - FreeBSD 10.3 Doesn't have dtrace enabled by default - It is in 11.0 or above versions
You can load dtrace by running |
@No9 it also happens on an up-to-date FreeBSD:
(I was trying to debug the error in have in |
|
I noticed that other modules, e.g. |
I'm not 100% that covers all the scenarios Maybe the answer is to warn during the build or when the the module is loaded? |
True that. Some more whild ideas:
|
Symptoms
I'm using node v8.10.0 built from source on FreeBSD/amd64 10.3 (built with clang and clang++, no configure flags given). I tried
dtrace-provider
(just the simple code snippet from the README) and it results in an error:Error: failed to load DOF: No such file or directory
.Version Numbers:
Steps to reproduce:
Clone the repo...
Install and Build
Make a little demo based on the example in
README.md
Run it...
Oddly, if I've run dtrace since the last boot, I don't get the error.
Build Log
The text was updated successfully, but these errors were encountered: