Skip to content
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

[Ubuntu][Arm64][@nut-tree/libnut-linux] libnut.node: cannot open shared object file: No such file or directory #159

Open
ua1wcz opened this issue Apr 25, 2023 · 0 comments

Comments

@ua1wcz
Copy link

ua1wcz commented Apr 25, 2023

Version
@nut-tree/libnut-linux - 2.5.1

Short overview
Error when trying to use nutjs on ubuntu arm64.
As I suppose, the library contains a file that does not correspond to the architecture of the operating system (Arm64)

Steps to reproduce error

  1. Install last nutjs version on Linux ubuntu-linux-22-04-desktop 5.15.0-70-generic
  2. Try to use it

Actual result:
Could not load helper NutHelper from module '/home/test/tests/helpers/nut.helper.js':
/home/test/node_modules/@nut-tree/libnut-linux/build/Release/libnut.node: cannot open shared object file: No such file or directory
Error: /home/test/node_modules/@nut-tree/libnut-linux/build/Release/libnut.node: cannot open shared object file: No such file or directory
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1280:18)
at Module.load (node:internal/modules/cjs/loader:1074:32)
at Function.Module._load (node:internal/modules/cjs/loader:909:12)
at Module.require (node:internal/modules/cjs/loader:1098:19)
at require (node:internal/modules/cjs/helpers:108:18)
at bindings (/home/parallels/pvad-tests2/node_modules/bindings/bindings.js:112:48)
at Object. (/home/parallels/pvad-tests2/node_modules/@nut-tree/libnut-linux/index.js:5:33)
at Module._compile (node:internal/modules/cjs/loader:1196:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1250:10)

Additional content
Check results:
file ./libnut.node

Output:
./libnut.node: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=c840bced4182f27a9739371b11d88e2bd5ef8dd4, not stripped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant