写在前面:
最近在学习Linux命令,此问题是在使用wget安装rar完成后出现的问题。仅供参考,若有不当的地方,恳请指正。如果对你有帮助,欢迎点赞,关注,收藏,评论,谢谢。
1.问题复现
strings /usr/lib64/libstdc++.so.6 | grep GLIBC
strings /usr/lib64/libstdc++.so.6 | grep GLIBC的作用是从/usr/lib64/libstdc++.so.6文件中提取所有可打印的字符串,并输出其中包含GLIBC字符串的行。
[root@localhost lib64]# strings /usr/lib64/libstdc++.so.6 | grep GLIBC
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBC_2.3
GLIBC_2.2.5
GLIBC_2.14
GLIBC_2.4
GLIBC_2.3.2
GLIBCXX_DEBUG_MESSAGE_LENGTH
[root@localhost lib64]#
可以看到,确实是缺少GLIBCXX_3.4.20和GLIBCXX_3.4.21,原因是当前版本libstdc++.so.6版本较低,替换新的版本即可。
2. 解决方法
替换新版本,具体步骤如下。
2.1 下载对应的RPM包
wget http://mirror.ghettoforge.org/distributions/gf/el/7/gf/x86_64/gcc10-libstdc++-10.2.1-7.gf.el7.x86_64.rpm
2.2 安装对应的软件包
rpm -ivh gcc10-libstdc++-10.2.1-7.gf.el7.x86_64.rpm
那执行完这个命令后,我们需要查一下安装软件包的目录在哪里?命令如下:
rpm -ql gcc10-libstdc++-10.2.1-7.gf.el7.x86_64
[root@localhost lib64]# rpm -ql gcc10-libstdc++-10.2.1-7.gf.el7.x86_64
/opt/gcc-10.2.1/usr/lib64/libstdc++.so.6
/opt/gcc-10.2.1/usr/lib64/libstdc++.so.6.0.28
/opt/gcc-10.2.1/usr/share/gcc-10
/opt/gcc-10.2.1/usr/share/gcc-10/python
/opt/gcc-10.2.1/usr/share/gcc-10/python/libstdcxx
/opt/gcc-10.2.1/usr/share/gcc-10/python/libstdcxx/__init__.py
/opt/gcc-10.2.1/usr/share/gcc-10/python/libstdcxx/__init__.pyc
/opt/gcc-10.2.1/usr/share/gcc-10/python/libstdcxx/__init__.pyo
/opt/gcc-10.2.1/usr/share/gcc-10/python/libstdcxx/__pycache__
/opt/gcc-10.2.1/usr/share/gcc-10/python/libstdcxx/__pycache__/__init__.cpython-36.opt-1.pyc
/opt/gcc-10.2.1/usr/share/gcc-10/python/libstdcxx/__pycache__/__init__.cpython-36.pyc
/opt/gcc-10.2.1/usr/share/gcc-10/python/libstdcxx/v6
/opt/gcc-10.2.1/usr/share/gcc-10/python/libstdcxx/v6/__init__.py
/opt/gcc-10.2.1/usr/share/gcc-10/python/libstdcxx/v6/__init__.pyc
/opt/gcc-10.2.1/usr/share/gcc-10/python/libstdcxx/v6/__init__.pyo
/opt/gcc-10.2.1/usr/share/gcc-10/python/libstdcxx/v6/__pycache__
/opt/gcc-10.2.1/usr/share/gcc-10/python/libstdcxx/v6/__pycache__/__init__.cpython-36.opt-1.pyc
/opt/gcc-10.2.1/usr/share/gcc-10/python/libstdcxx/v6/__pycache__/__init__.cpython-36.pyc
/opt/gcc-10.2.1/usr/share/gcc-10/python/libstdcxx/v6/__pycache__/printers.cpython-36.opt-1.pyc
/opt/gcc-10.2.1/usr/share/gcc-10/python/libstdcxx/v6/__pycache__/printers.cpython-36.pyc
/opt/gcc-10.2.1/usr/share/gcc-10/python/libstdcxx/v6/__pycache__/xmethods.cpython-36.opt-1.pyc
/opt/gcc-10.2.1/usr/share/gcc-10/python/libstdcxx/v6/__pycache__/xmethods.cpython-36.pyc
/opt/gcc-10.2.1/usr/share/gcc-10/python/libstdcxx/v6/printers.py
/opt/gcc-10.2.1/usr/share/gcc-10/python/libstdcxx/v6/printers.pyc
/opt/gcc-10.2.1/usr/share/gcc-10/python/libstdcxx/v6/printers.pyo
/opt/gcc-10.2.1/usr/share/gcc-10/python/libstdcxx/v6/xmethods.py
/opt/gcc-10.2.1/usr/share/gcc-10/python/libstdcxx/v6/xmethods.pyc
/opt/gcc-10.2.1/usr/share/gcc-10/python/libstdcxx/v6/xmethods.pyo
/opt/gcc-10.2.1/usr/share/gdb
/opt/gcc-10.2.1/usr/share/gdb/auto-load
/opt/gcc-10.2.1/usr/share/gdb/auto-load/opt/gcc-10.2.1/usr
/opt/gcc-10.2.1/usr/share/gdb/auto-load/opt/gcc-10.2.1/usr/lib64
/opt/gcc-10.2.1/usr/share/gdb/auto-load/opt/gcc-10.2.1/usr/lib64/__pycache__
/opt/gcc-10.2.1/usr/share/gdb/auto-load/opt/gcc-10.2.1/usr/lib64/__pycache__/libstdc++.so.6.0.28-gdb.cpython-36.opt-1.pyc
/opt/gcc-10.2.1/usr/share/gdb/auto-load/opt/gcc-10.2.1/usr/lib64/__pycache__/libstdc++.so.6.0.28-gdb.cpython-36.pyc
/opt/gcc-10.2.1/usr/share/gdb/auto-load/opt/gcc-10.2.1/usr/lib64/libstdc++.so.6.0.28-gdb.py
/opt/gcc-10.2.1/usr/share/gdb/auto-load/opt/gcc-10.2.1/usr/lib64/libstdc++.so.6.0.28-gdb.pyc
/opt/gcc-10.2.1/usr/share/gdb/auto-load/opt/gcc-10.2.1/usr/lib64/libstdc++.so.6.0.28-gdb.pyo
[root@localhost lib64]#
可以看到安装命令在/opt目录下。
2.3 复制对应文件到/user/lib64/
cp /opt/gcc-10.2.1/usr/lib64/libstdc++.so.6.0.28 /usr/lib64/
2.4 删除原来旧的libstdc++.so.6,并创建libstdc++.so.6软链接指向libstdc++.so.6.0.28
rm -rf /usr/lib64/libstdc++.so.6
cd /usr/lib64/
ln -s libstdc++.so.6.0.28 libstdc++.so.6
2.5 测试是否成功
strings /usr/lib64/libstdc++.so.6 | grep GLIBC
[root@localhost lib64]# strings /usr/lib64/libstdc++.so.6 | grep GLIBC
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_3.4.20
GLIBCXX_3.4.21
GLIBCXX_3.4.22
GLIBCXX_3.4.23
GLIBCXX_3.4.24
GLIBCXX_3.4.25
GLIBCXX_3.4.26
GLIBCXX_3.4.27
GLIBCXX_3.4.28
GLIBC_2.2.5
GLIBC_2.3
GLIBC_2.14
GLIBC_2.6
GLIBC_2.4
GLIBC_2.16
GLIBC_2.17
GLIBC_2.3.2
GLIBCXX_DEBUG_MESSAGE_LENGTH
__strtof_l@@GLIBC_2.2.5
symlink@@GLIBC_2.2.5
_ZNKSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv@GLIBCXX_3.4
chdir@@GLIBC_2.2.5
fileno@@GLIBC_2.2.5
pthread_cond_destroy@@GLIBC_2.3.2
__strcoll_l@@GLIBC_2.2.5
__nl_langinfo_l@@GLIBC_2.2.5
dgettext@@GLIBC_2.2.5
fseeko64@@GLIBC_2.2.5
wmemcpy@@GLIBC_2.2.5
mbrtowc@@GLIBC_2.2.5
_ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreEv@@GLIBCXX_3.4.5
wcslen@@GLIBC_2.2.5
__duplocale@@GLIBC_2.2.5
ioctl@@GLIBC_2.2.5
abort@@GLIBC_2.2.5
_ZNKSbIwSt11char_traitsIwESaIwEE11_M_disjunctEPKw@GLIBCXX_3.4
_ZNKSt14basic_ifstreamIwSt11char_traitsIwEE7is_openEv@@GLIBCXX_3.4.5
clock_gettime@@GLIBC_2.17
GLIBCXX_3.4.21
pthread_cond_signal@@GLIBC_2.3.2
__assert_fail@@GLIBC_2.2.5
GLIBCXX_3.4.9
_ZSt10adopt_lock@@GLIBCXX_3.4.11
GLIBCXX_3.4.10
bindtextdomain@@GLIBC_2.2.5
wmemcmp@@GLIBC_2.2.5
__strftime_l@@GLIBC_2.3
gettimeofday@@GLIBC_2.2.5
GLIBCXX_3.4.16
setvbuf@@GLIBC_2.2.5
__strxfrm_l@@GLIBC_2.2.5
GLIBCXX_3.4.1
_ZNSt19istreambuf_iteratorIcSt11char_traitsIcEEppEv@GLIBCXX_3.4
GLIBCXX_3.4.28
_ZNSs7_M_copyEPcPKcm@GLIBCXX_3.4
mbsnrtowcs@@GLIBC_2.2.5
malloc@@GLIBC_2.2.5
GLIBCXX_3.4.25
strtold_l@@GLIBC_2.3
_ZNSt19istreambuf_iteratorIcSt11char_traitsIcEEppEv@@GLIBCXX_3.4.5
_ZNSs7_M_moveEPcPKcm@@GLIBCXX_3.4.5
_ZNKSt13basic_fstreamIwSt11char_traitsIwEE7is_openEv@GLIBCXX_3.4
ungetwc@@GLIBC_2.2.5
__wctype_l@@GLIBC_2.2.5
__cxa_atexit@@GLIBC_2.2.5
_ZNKSt13basic_fstreamIcSt11char_traitsIcEE7is_openEv@GLIBCXX_3.4
_ZNSbIwSt11char_traitsIwESaIwEE4_Rep26_M_set_length_and_sharableEm@@GLIBCXX_3.4.5
truncate@@GLIBC_2.2.5
_ZNSs4_Rep26_M_set_length_and_sharableEm@GLIBCXX_3.4
aligned_alloc@@GLIBC_2.16
_ZSt10defer_lock@@GLIBCXX_3.4.11
__towupper_l@@GLIBC_2.2.5
__wcsxfrm_l@@GLIBC_2.2.5
__fxstat64@@GLIBC_2.2.5
_ZN10__gnu_norm15_List_node_base4swapERS0_S1_@@GLIBCXX_3.4
iconv_open@@GLIBC_2.2.5
_ZNSs9_M_assignEPcmc@@GLIBCXX_3.4.5
ungetc@@GLIBC_2.2.5
_ZNKSbIwSt11char_traitsIwESaIwEE15_M_check_lengthEmmPKc@@GLIBCXX_3.4.5
__wcscoll_l@@GLIBC_2.2.5
fputc@@GLIBC_2.2.5
_ZNKSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv@@GLIBCXX_3.4.5
free@@GLIBC_2.2.5
_ZNSbIwSt11char_traitsIwESaIwEE7_M_moveEPwPKwm@GLIBCXX_3.4
strlen@@GLIBC_2.2.5
GLIBCXX_3.4.24
_ZNVSt9__atomic011atomic_flag12test_and_setESt12memory_order@@GLIBCXX_3.4.11
GLIBCXX_3.4.20
fchmodat@@GLIBC_2.4
wmemchr@@GLIBC_2.2.5
opendir@@GLIBC_2.2.5
__xstat@@GLIBC_2.2.5
_ZNSt11char_traitsIwE2eqERKwS2_@@GLIBCXX_3.4.5
GLIBCXX_3.4.12
_ZNSi6ignoreEv@@GLIBCXX_3.4.5
__ctype_get_mb_cur_max@@GLIBC_2.2.5
GLIBCXX_3.4.2
__cxa_finalize@@GLIBC_2.2.5
_ZNSt11char_traitsIcE2eqERKcS2_@@GLIBCXX_3.4.5
GLIBCXX_3.4.6
realpath@@GLIBC_2.3
wctob@@GLIBC_2.2.5
__wcsftime_l@@GLIBC_2.3
__iswctype_l@@GLIBC_2.2.5
GLIBCXX_3.4.15
readdir@@GLIBC_2.2.5
__tls_get_addr@@GLIBC_2.3
sprintf@@GLIBC_2.2.5
_ZNKSt13basic_fstreamIcSt11char_traitsIcEE7is_openEv@@GLIBCXX_3.4.5
stdin@@GLIBC_2.2.5
_ZNSs9_M_assignEPcmc@GLIBCXX_3.4
GLIBCXX_3.4.19
_ZNKSt14basic_ofstreamIwSt11char_traitsIwEE7is_openEv@GLIBCXX_3.4
_ZNSt19istreambuf_iteratorIwSt11char_traitsIwEEppEv@GLIBCXX_3.4
fdopen@@GLIBC_2.2.5
GLIBCXX_3.4.27
syscall@@GLIBC_2.2.5
iconv@@GLIBC_2.2.5
_ZN10__gnu_norm15_List_node_base7reverseEv@@GLIBCXX_3.4
__newlocale@@GLIBC_2.2.5
poll@@GLIBC_2.2.5
frexpl@@GLIBC_2.2.5
strerror@@GLIBC_2.2.5
fputs@@GLIBC_2.2.5
readlink@@GLIBC_2.2.5
mbsrtowcs@@GLIBC_2.2.5
_ZN10__gnu_norm15_List_node_base4hookEPS0_@@GLIBCXX_3.4
fchmod@@GLIBC_2.2.5
wcrtomb@@GLIBC_2.2.5
putwc@@GLIBC_2.2.5
utimensat@@GLIBC_2.6
_ZNSt11char_traitsIwE2eqERKwS2_@GLIBCXX_3.4
_ZNSbIwSt11char_traitsIwESaIwEE7_M_copyEPwPKwm@GLIBCXX_3.4
_ZNSbIwSt11char_traitsIwESaIwEE7_M_copyEPwPKwm@@GLIBCXX_3.4.5
strchr@@GLIBC_2.2.5
GLIBCXX_3.4.23
vsnprintf@@GLIBC_2.2.5
fread@@GLIBC_2.2.5
wmemmove@@GLIBC_2.2.5
getenv@@GLIBC_2.2.5
sendfile@@GLIBC_2.2.5
GLIBCXX_3.4.3
GLIBCXX_3.4.7
__errno_location@@GLIBC_2.2.5
strdup@@GLIBC_2.2.5
_ZNSi6ignoreEl@@GLIBCXX_3.4.5
_ZNKSbIwSt11char_traitsIwESaIwEE11_M_disjunctEPKw@@GLIBCXX_3.4.5
_ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreEv@GLIBCXX_3.4
_ZNKSt13basic_fstreamIwSt11char_traitsIwEE7is_openEv@@GLIBCXX_3.4.5
_ZNSbIwSt11char_traitsIwESaIwEE7_M_moveEPwPKwm@@GLIBCXX_3.4.5
__uselocale@@GLIBC_2.3
GLIBCXX_3.4.18
__stack_chk_fail@@GLIBC_2.4
_ZNSbIwSt11char_traitsIwESaIwEE4_Rep26_M_set_length_and_sharableEm@GLIBCXX_3.4
_ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreEl@@GLIBCXX_3.4.5
strcmp@@GLIBC_2.2.5
_ZSt15future_category@@GLIBCXX_3.4.14
_ZNSi6ignoreEl@GLIBCXX_3.4
getcwd@@GLIBC_2.2.5
get_nprocs@@GLIBC_2.2.5
__strtod_l@@GLIBC_2.2.5
nanosleep@@GLIBC_2.2.5
pthread_cond_wait@@GLIBC_2.3.2
_ZNSt11char_traitsIcE2eqERKcS2_@GLIBCXX_3.4
_ZNKSs15_M_check_lengthEmmPKc@GLIBCXX_3.4
_ZN10__gnu_norm15_List_node_base8transferEPS0_S1_@@GLIBCXX_3.4
_ZNSbIwSt11char_traitsIwESaIwEE9_M_assignEPwmw@GLIBCXX_3.4
writev@@GLIBC_2.2.5
_ZNVSt9__atomic011atomic_flag5clearESt12memory_order@@GLIBCXX_3.4.11
fclose@@GLIBC_2.2.5
remove@@GLIBC_2.2.5
statvfs@@GLIBC_2.2.5
_ZNKSt14basic_ofstreamIcSt11char_traitsIcEE7is_openEv@@GLIBCXX_3.4.5
_ZNKSt14basic_ofstreamIcSt11char_traitsIcEE7is_openEv@GLIBCXX_3.4
_ZNSs7_M_moveEPcPKcm@GLIBCXX_3.4
isspace@@GLIBC_2.2.5
lseek64@@GLIBC_2.2.5
__lxstat@@GLIBC_2.2.5
__freelocale@@GLIBC_2.2.5
_ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreEl@GLIBCXX_3.4
bind_textdomain_codeset@@GLIBC_2.2.5
wcsnrtombs@@GLIBC_2.2.5
_ZNSbIwSt11char_traitsIwESaIwEE9_M_assignEPwmw@@GLIBCXX_3.4.5
closedir@@GLIBC_2.2.5
stderr@@GLIBC_2.2.5
btowc@@GLIBC_2.2.5
_ZNKSbIwSt11char_traitsIwESaIwEE15_M_check_lengthEmmPKc@GLIBCXX_3.4
_ZNKSs11_M_disjunctEPKc@@GLIBCXX_3.4.5
_ZN10__gnu_norm15_List_node_base6unhookEv@@GLIBCXX_3.4
fopen64@@GLIBC_2.2.5
GLIBCXX_3.4.22
_ZNSt19istreambuf_iteratorIwSt11char_traitsIwEEppEv@@GLIBCXX_3.4.5
_ZNSi6ignoreEv@GLIBCXX_3.4
wcscmp@@GLIBC_2.2.5
fwrite@@GLIBC_2.2.5
pthread_mutex_lock@@GLIBC_2.2.5
_ZNSs7_M_copyEPcPKcm@@GLIBCXX_3.4.5
realloc@@GLIBC_2.2.5
setlocale@@GLIBC_2.2.5
GLIBCXX_3.4.8
fprintf@@GLIBC_2.2.5
GLIBCXX_3.4.13
_ZSt11try_to_lock@@GLIBCXX_3.4.11
_ZNKSt14basic_ofstreamIwSt11char_traitsIwEE7is_openEv@@GLIBCXX_3.4.5
pthread_cond_broadcast@@GLIBC_2.3.2
GLIBCXX_3.4.17
GLIBCXX_3.4.4
ftello64@@GLIBC_2.2.5
_ZNKSs15_M_check_lengthEmmPKc@@GLIBCXX_3.4.5
strtoul@@GLIBC_2.2.5
pthread_mutex_unlock@@GLIBC_2.2.5
memcpy@@GLIBC_2.14
_ZNKSt14basic_ifstreamIwSt11char_traitsIwEE7is_openEv@GLIBCXX_3.4
iconv_close@@GLIBC_2.2.5
__towlower_l@@GLIBC_2.2.5
_ZNSs4_Rep26_M_set_length_and_sharableEm@@GLIBCXX_3.4.5
rename@@GLIBC_2.2.5
GLIBCXX_3.4.26
stdout@@GLIBC_2.2.5
_ZNKSs11_M_disjunctEPKc@GLIBCXX_3.4
mkdir@@GLIBC_2.2.5
wmemset@@GLIBC_2.2.5
fflush@@GLIBC_2.2.5
[root@localhost lib64]#
可以看到,GLIBCXX_3.4.20和GLIBCXX_3.4.21已经存在了。
再查看一下rar,是否成功。
rar
[root@localhost lib64]# rar
RAR 7.01 Copyright (c) 1993-2024 Alexander Roshal 12 May 2024
Trial version Type 'rar -?' for help
Usage: rar <command> -<switch 1> -<switch N> <archive> <files...>
<@listfiles...> <path_to_extract/>
<Commands>
a Add files to archive
c Add archive comment
ch Change archive parameters
cw Write archive comment to file
d Delete files from archive
e Extract files without archived paths
f Freshen files in archive
i[par]=<str> Find string in archives
k Lock archive
l[t[a],b] List archive contents [technical[all], bare]
m[f] Move to archive [files only]
p Print file to stdout
r Repair archive
rc Reconstruct missing volumes
rn Rename archived files
rr[N] Add data recovery record
rv[N] Create recovery volumes
s[name|-] Convert archive to or from SFX
t Test archive files
u Update files in archive
v[t[a],b] Verbosely list archive contents [technical[all],bare]
x Extract files with full path
<Switches>
- Stop switches scanning
@[+] Disable [enable] file lists
ad[1,2] Alternate destination path
ag[format] Generate archive name using the current date
ai Ignore file attributes
am[s,r] Archive name and time [save, restore]
ap<path> Set path inside archive
as Synchronize archive contents
c- Disable comments show
cfg- Disable read configuration
cl Convert names to lower case
cu Convert names to upper case
df Delete files after archiving
dh Open shared files
ds Disable name sort for solid archive
dw Wipe files after archiving
e[+]<attr> Set file exclude and include attributes
ed Do not add empty directories
ep Exclude paths from names
ep1 Exclude base directory from names
ep3 Expand paths to full including the drive letter
ep4<path> Exclude the path prefix from names
f Freshen files
hp[password] Encrypt both file data and headers
ht[b|c] Select hash type [BLAKE2,CRC32] for file checksum
id[c,d,n,p,q] Display or disable messages
ierr Send all messages to stderr
ilog[name] Log errors to file
inul Disable all messages
isnd[-] Control notification sounds
iver Display the version number
k Lock archive
kb Keep broken extracted files
log[f][=name] Write names to log file
m<0..5> Set compression level (0-store...3-default...5-maximal)
mc<par> Set advanced compression parameters
md[x]<n>[kmg] Dictionary size in KB, MB or GB
me[par] Set encryption parameters
ms[ext;ext] Specify file types to store
mt<threads> Set the number of threads
n<file> Additionally filter included files
n@ Read additional filter masks from stdin
n@<list> Read additional filter masks from list file
o[+|-] Set the overwrite mode
oh Save hard links as the link instead of the file
oi[0-4][:min] Save identical files as references
ol[a,-] Process symbolic links as the link [absolute paths, skip]
op<path> Set the output path for extracted files
or Rename files automatically
ow Save or restore file owner and group
p[password] Set password
qo[-|+] Add quick open information [none|force]
r Recurse subdirectories
r- Disable recursion
r0 Recurse subdirectories for wildcard names only
rr[N] Add data recovery record
rv[N] Create recovery volumes
s[<N>,v[-],e] Create solid archive
s- Disable solid archiving
sc<chr>[obj] Specify the character set
sfx[name] Create SFX archive
si[name] Read data from standard input (stdin)
sl<size>[u] Process files with size less than specified
sm<size>[u] Process files with size more than specified
t Test files after archiving
ta[mcao]<d> Process files modified after <d> YYYYMMDDHHMMSS date
tb[mcao]<d> Process files modified before <d> YYYYMMDDHHMMSS date
tk Keep original archive time
tl Set archive time to latest file
tn[mcao]<t> Process files newer than <t> time
to[mcao]<t> Process files older than <t> time
ts[m,c,a,p] Save or restore time (modification, creation, access, preserve)
u Update files
v<size>[u] Create volumes with size in [bBkKmMgGtT] units
ver[n] File version control
vp Pause before each volume
w<path> Assign work directory
x<file> Exclude specified file
x@ Read file names to exclude from stdin
x@<list> Exclude files listed in specified list file
y Assume Yes on all queries
z[file] Read archive comment from file
[root@localhost lib64]#
至此,此问题已成功解决。