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

centos7 安装 出现问题 #25

Open
bravelionet opened this issue Jun 18, 2023 · 0 comments
Open

centos7 安装 出现问题 #25

bravelionet opened this issue Jun 18, 2023 · 0 comments

Comments

@bravelionet
Copy link

npm ERR! code 1
npm ERR! path /home/shita/shida-main/node_modules/gl
npm ERR! command failed
npm ERR! command sh -c prebuild-install || node-gyp rebuild
npm ERR! make: 进入目录“/home/shita/shida-main/node_modules/gl/build”
npm ERR! CXX(target) Release/obj.target/angle_common/angle/src/common/Float16ToFloat32.o
npm ERR! make: 离开目录“/home/shita/shida-main/node_modules/gl/build”
npm ERR! ERROR: ld.so: object '/path/to/your/libm.so.6' from LD_PRELOAD cannot be preloaded: ignored.
npm ERR! ERROR: ld.so: object '/path/to/your/libm.so.6' from LD_PRELOAD cannot be preloaded: ignored.
npm ERR! ERROR: ld.so: object '/path/to/your/libm.so.6' from LD_PRELOAD cannot be preloaded: ignored.
npm ERR! prebuild-install warn install /usr/lib64/libm.so.6: version GLIBC_2.27' not found (required by /home/shita/shida-main/node_modules/gl/build/Release/webgl.node) npm ERR! ERROR: ld.so: object '/path/to/your/libm.so.6' from LD_PRELOAD cannot be preloaded: ignored. npm ERR! ERROR: ld.so: object '/path/to/your/libm.so.6' from LD_PRELOAD cannot be preloaded: ignored. npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@9.4.0 npm ERR! gyp info using node@16.18.1 | linux | x64 npm ERR! gyp info find Python using Python version 3.6.8 found at "/usr/bin/python3" npm ERR! ERROR: ld.so: object '/path/to/your/libm.so.6' from LD_PRELOAD cannot be preloaded: ignored. npm ERR! gyp info spawn /usr/bin/python3 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/home/shita/shida-main/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/shita/shida-main/node_modules/gl/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/shita/shida-main/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/root/.cache/node-gyp/16.18.1/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/16.18.1', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/home/shita/shida-main/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/16.18.1/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/home/shita/shida-main/node_modules/gl', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! ERROR: ld.so: object '/path/to/your/libm.so.6' from LD_PRELOAD cannot be preloaded: ignored. npm ERR! ERROR: ld.so: object '/path/to/your/libm.so.6' from LD_PRELOAD cannot be preloaded: ignored. npm ERR! ERROR: ld.so: object '/path/to/your/libm.so.6' from LD_PRELOAD cannot be preloaded: ignored. npm ERR! ERROR: ld.so: object '/path/to/your/libm.so.6' from LD_PRELOAD cannot be preloaded: ignored. npm ERR! ERROR: ld.so: object '/path/to/your/libm.so.6' from LD_PRELOAD cannot be preloaded: ignored. npm ERR! ERROR: ld.so: object '/path/to/your/libm.so.6' from LD_PRELOAD cannot be preloaded: ignored. npm ERR! ERROR: ld.so: object '/path/to/your/libm.so.6' from LD_PRELOAD cannot be preloaded: ignored. npm ERR! ERROR: ld.so: object '/path/to/your/libm.so.6' from LD_PRELOAD cannot be preloaded: ignored. npm ERR! ERROR: ld.so: object '/path/to/your/libm.so.6' from LD_PRELOAD cannot be preloaded: ignored. npm ERR! gyp info spawn make npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] npm ERR! ERROR: ld.so: object '/path/to/your/libm.so.6' from LD_PRELOAD cannot be preloaded: ignored. npm ERR! ERROR: ld.so: object '/path/to/your/libm.so.6' from LD_PRELOAD cannot be preloaded: ignored. npm ERR! ERROR: ld.so: object '/path/to/your/libm.so.6' from LD_PRELOAD cannot be preloaded: ignored. npm ERR! ERROR: ld.so: object '/path/to/your/libm.so.6' from LD_PRELOAD cannot be preloaded: ignored. npm ERR! ERROR: ld.so: object '/path/to/your/libm.so.6' from LD_PRELOAD cannot be preloaded: ignored. npm ERR! In file included from /usr/include/limits.h:191:0, npm ERR! from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194, npm ERR! from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7, npm ERR! from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34, npm ERR! from /opt/rh/devtoolset-7/root/usr/include/c++/7/climits:42, npm ERR! from ../angle/src/common/angleutils.h:14, npm ERR! from ../angle/src/common/debug.h:16, npm ERR! from ../angle/src/common/mathutil.h:12, npm ERR! from ../angle/src/common/Float16ToFloat32.cpp:9: npm ERR! /usr/include/bits/xopen_lim.h:64:10: fatal error: bits/uio_lim.h: 没有那个文件或目录 npm ERR! #include <bits/uio_lim.h> npm ERR! ^~~~~~~~~~~~~~~~ npm ERR! compilation terminated. npm ERR! make: *** [Release/obj.target/angle_common/angle/src/common/Float16ToFloat32.o] 错误 1 npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: make` failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess.onExit (/home/shita/shida-main/node_modules/node-gyp/lib/build.js:203:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm ERR! gyp ERR! System Linux 3.10.0-1160.83.1.el7.x86_64
npm ERR! gyp ERR! command "/usr/bin/node" "/home/shita/shida-main/node_modules/.bin/node-gyp" "rebuild"
npm ERR! gyp ERR! cwd /home/shita/shida-main/node_modules/gl
npm ERR! gyp ERR! node -v v16.18.1
npm ERR! gyp ERR! node-gyp -v v9.4.0
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-06-18T13_44_32_851Z-debug-0.log

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