直接在界面下打开百度网盘没有反应,如何调试百度网盘呢?
在桌面下的命令终端切换到百度网盘安装目录
[root@xiaozhuji ~]# cd /opt/baidunetdisk/
[root@xiaozhuji baidunetdisk]# ls
baidunetdisk libbrowserengine.so LICENSES.chromium.html
baiduNetdiskContext.conf libEGL.so locales
baidunetdisk.desktop libffmpeg.so resources
baidunetdisk.svg libGLESv2.so resources.pak
baidunetdiskv.desktop libkernel.so snapshot_blob.bin
chrome_100_percent.pak libminosagent.so swiftshader
chrome_200_percent.pak libplayer.so v8_context_snapshot.bin
chrome-sandbox libvk_swiftshader.so vk_swiftshader_icd.json
icudtl.dat libvulkan.so
libbnusdk.so LICENSE.electron.txt
[root@xiaozhuji baidunetdisk]# ./baidunetdisk
[3108:0621/084423.333184:FATAL:electron_main_delegate.cc(253)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
Trace/breakpoint trap
[root@xiaozhuji baidunetdisk]# ./baidunetdisk --no-sandbox
找到错误提示,安装提示进行修复如下:

My personal server uses CentOS 7.9, and there are often strange errors when deploying some AI applications.

For example, recently, an error was reported when deploying an application:

/lib64/libstdc++.so.6: version GLIBCXX_3.4.xx not found
Online search for solutions, there are different opinions, either reinstall gcc, or recompile and install libstdc++,export LD_LIBRARY_PATH and so on.

Several attempts have failed, and there is no way to upgrade the os version. Finally, a suitable solution is found, and it’s worked for me.

Find and display all packages that provide libstdc++.so.6 as a library file through yum
sudo yum provides libstdc++.so.6

  1. Download new version libstdc.so.

NOTICE: Since I need version 3.4.22+, so I can just update it to 3.4.26. Other versions are the same.

cd /usr/local/lib64
sudo wget http://www.vuln.cn/wp-content/uploads/2019/08/libstdc.so_.6.0.26.zip
unzip libstdc.so_.6.0.26.zip

  1. Copy libstdc++.so.6.0.26 to /usr/lib64

cp libstdc++.so.6.0.26 /usr/lib64
cd /usr/lib64

  1. Check the soft link version of libstdc++.so.6,

ls -l | grep libstdc++
It may shows like this:

libstdc++.so.6 ->libstdc++.so.6.0.19

  1. Remove /usr/lib64 original link libstdc++.so.6, you can backup it before remove.

sudo rm libstdc++.so.6
then, relink it.

sudo ln -s libstdc++.so.6.0.26 libstdc++.so.6

  1. OK, check the newest link

strings /usr/lib64/libstdc++.so.6 | grep GLIBCXX
It may shows like this:

GLIBCXX_3.4

GLIBCXX_3.4.25

GLIBCXX_3.4.26

GLIBCXX_DEBUG_MESSAGE_LENGTH

Well Done!

标签: none

添加新评论