Today, rar is not installed on a server, and the following message is displayed: rar: errorwhileloadingsharedlibraries: libstdc & amp; 43; & amp; 43; so6: cannotopen#dobjectfile: nosuchfileordirectory or hao32 to deal with today found that a server is not installed with rar, prompt: rar: error while loading shared libraries: libstdc ++. so.6: cannot open shared object file: No such file or directory is still handled by hao32. after asking about the method, it turns out that gcc-c ++ is not installed. The following describes the process.
First Download rarlinux-3.8.0.tar.gz
Wget http://www.rarlab.com/rar/rarlinux-3.8.0.tar.gz
2 then unzip # tar xvfz rarlinux-3.8.0.tar.gz 3 install # make install
Mkdir-p/usr/local/bin
Mkdir-p/usr/local/lib
Cp rar unrar/usr/local/bin
Cp rarfiles. lst/etc
Cp default. sfx/usr/local/lib
4. decompress the file:
# Rar x test.rar/
Rar:/lib/tls/libc. so.6: version 'glibc _ 100' not found (required by rar)
5. GLIBC_2.4 is required. If GLIBC_2.4 is not available
# Cp./rar/rar_static/usr/local/bin/rar
Rar_static is a static linking version. there is no inconsistency between glibc Library versions.
Decompress the package again:
[Root @ xxxx ~] # Rar x test.rar/
RAR 3.71 Copyright (c) 1993-2007 Alexander Roshal 20 Sep 2007
Shareware version Type RAR -? For help Extracting from test.rar Extracting/test.txt OK
All OK 6 package rar a install.rar./install. log
Yes