找回密码
 注册
查看: 2|回复: 0

error while loading shared libraries: libatomic.so.1: cannot open 解决办法

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 昨天 23:00 | 显示全部楼层 |阅读模式
[root@webserver /]# npm -v
1 j6 C3 j& v% i, s/usr/local/nodejs25/bin/node: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory  ^0 ~& L6 A1 `3 \6 t) h/ _' Q3 f
[root@webserver /]#  dnf install libatomic
0 x* d  ?+ i4 NCentOS-8.5.2111 - Base - mirrors.aliyun.com                      44 kB/s | 3.9 kB     00:00   
7 d! N5 Z0 ?8 H0 RCentOS-8.5.2111 - Extras - mirrors.aliyun.com                    13 kB/s | 1.5 kB     00:00   
2 ~6 d7 j# ?, ?; I# w4 _CentOS-8.5.2111 - AppStream - mirrors.aliyun.com                116 kB/s | 4.3 kB     00:00    / p! v% a# x; f# v3 s
Dependencies resolved.; ~; ]6 v& I' X4 w
================================================================================================8 R; I, @9 {4 i" \7 S: x0 k
Package                Architecture        Version                     Repository         Size
" D: w4 b6 w, y; r6 I- b================================================================================================
: ]7 i* e6 ~' x% y( Y: {' K4 aInstalling:
. S% j+ J6 t" Q0 u& F+ E libatomic              x86_64              8.5.0-4.el8_5               base               24 k6 c# B! E- _/ `! f7 |

: [5 R/ }5 n+ I- Z( ^Transaction Summary* `  @/ b* V6 ]4 A! d; x- X
================================================================================================
; z$ Q1 H# o. K# `. aInstall  1 Package
  ~, v) `/ m. n5 N! u* c0 X* G
5 h  {9 Y( C' ?$ t6 }) o; L/ ~2 LTotal download size: 24 k& |( F' k$ l0 c9 Q: E
Installed size: 28 k
1 t/ ~8 g+ h+ ^6 V, r9 PIs this ok [y/N]: y/ S# \" X0 f* D0 O8 \% [* B" |
Downloading Packages:0 O9 U; _( V" Y! X+ f
libatomic-8.5.0-4.el8_5.x86_64.rpm                               92 kB/s |  24 kB     00:00   
5 z, l- h6 b3 Z, e, b: U------------------------------------------------------------------------------------------------
2 r4 Z* F$ N) ^7 k- n- ^2 e' @Total                                                            92 kB/s |  24 kB     00:00     ; {, J- J8 {9 m7 n: s/ s
Running transaction check' M! a% c8 N5 U$ N+ X# ?" M
Transaction check succeeded.
6 K, _) K1 j. b) WRunning transaction test
+ N$ U1 W  U1 b! b! z  n6 _Transaction test succeeded.) M+ O) q# Z8 i0 l1 x8 I
Running transaction
- E5 i0 A" Y5 m' O& i( l  Preparing        :                                                                        1/1 ! P! l+ ?/ `6 B. M8 g2 E
  Installing       : libatomic-8.5.0-4.el8_5.x86_64                                         1/1 + L6 B5 ^, W' f/ |7 I
  Running scriptlet: libatomic-8.5.0-4.el8_5.x86_64                                         1/1 # R5 E0 ~/ i. p* c
  Verifying        : libatomic-8.5.0-4.el8_5.x86_64                                         1/1 , y) [9 z+ a! R6 e& V- ?3 V8 c! @

9 W1 _* ?  E+ i7 l2 F: \& v0 aInstalled:, {* P7 y  t$ I7 g6 I# N) l# j/ {: V
  libatomic-8.5.0-4.el8_5.x86_64                                                               
; V& J" D' o9 ^8 f5 U4 m. f3 ]8 y$ ~1 h; W$ n2 i
Complete!+ ~/ ~) u7 k( C* Z: Q- R

5 e0 p3 _& @& W' K+ u2 v) l+ ^" C. F
7 L2 E7 ~. k1 o
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 00:19 , Processed in 0.017594 second(s), 21 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表