缺少 GLIBCXX_3.4.XX 和 CXXABI_1.3.XX

缺少 GLIBCXX_3.4.XX 和 CXXABI_1.3.XX

安装 Xilinx ISE 14.7 后,似乎有几个程序正在其目录中搜索 libstdc++.so.6 和文件,但无法使用它。我不确定如何让它们在其他地方寻找它。我在尝试按照 LeagueofLinux subreddit 上给出的说明运行英雄联盟 Garena 时遇到了这个问题。

在网上查找后,我发现我必须在 grub 菜单上将文件路径输入到 PATH 变量中,但这是否意味着我需要将每个需要 GLIB 和 CXXAIB 的文件路径添加到其中?

我为英雄联盟所遵循的设置方法 - subreddit 上的 Garena -https://www.reddit.com/r/leagueoflinux/comments/mm45tm/playing_on_garena/

    apt search nvidia-driver
apt: /opt/Xilinx/14.7/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by apt)
apt: /opt/Xilinx/14.7/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /lib/x86_64-linux-gnu/libapt-private.so.0.0)
apt: /opt/Xilinx/14.7/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /lib/x86_64-linux-gnu/libapt-private.so.0.0)
apt: /opt/Xilinx/14.7/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib/x86_64-linux-gnu/libapt-private.so.0.0)
apt: /opt/Xilinx/14.7/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /lib/x86_64-linux-gnu/libapt-private.so.0.0)
apt: /opt/Xilinx/14.7/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /lib/x86_64-linux-gnu/libapt-private.so.0.0)
apt: /opt/Xilinx/14.7/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /lib/x86_64-linux-gnu/libapt-private.so.0.0)
apt: /opt/Xilinx/14.7/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /lib/x86_64-linux-gnu/libapt-private.so.0.0)
apt: /opt/Xilinx/14.7/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `CXXABI_1.3.7' not found (required by /lib/x86_64-linux-gnu/libapt-pkg.so.6.0)
apt: /opt/Xilinx/14.7/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /lib/x86_64-linux-gnu/libapt-pkg.so.6.0)
apt: /opt/Xilinx/14.7/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /lib/x86_64-linux-gnu/libapt-pkg.so.6.0)
apt: /opt/Xilinx/14.7/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /lib/x86_64-linux-gnu/libapt-pkg.so.6.0)
apt: /opt/Xilinx/14.7/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib/x86_64-linux-gnu/libapt-pkg.so.6.0)
apt: /opt/Xilinx/14.7/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by /lib/x86_64-linux-gnu/libapt-pkg.so.6.0)
apt: /opt/Xilinx/14.7/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /lib/x86_64-linux-gnu/libapt-pkg.so.6.0)
apt: /opt/Xilinx/14.7/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /lib/x86_64-linux-gnu/libapt-pkg.so.6.0)
apt: /opt/Xilinx/14.7/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `CXXABI_1.3.5' not found (required by /lib/x86_64-linux-gnu/libapt-pkg.so.6.0)
apt: /opt/Xilinx/14.7/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /lib/x86_64-linux-gnu/libapt-pkg.so.6.0)
apt: /opt/Xilinx/14.7/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by /lib/x86_64-linux-gnu/libapt-pkg.so.6.0)
apt: /opt/Xilinx/14.7/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /lib/x86_64-linux-gnu/libapt-pkg.so.6.0)

这是在 Lutris 上运行英雄联盟 - Garena 后的输出:

--garena-plus-token=d2hyR6g+6xtZfdWSiZ2N65XdSeKVlNhDkHW6qp3fNdiWHd+ukhGI5Sxez/5WmZO52fLTjKKZVt26eLCoantnI6YvjVICFBEaT4zUbvXXo1L/Z4bz5lBIi2tU1FocCqd66pFyvl1UBAM7mnA9tBhXUW9mwnng8qoNLYOZcdF6dZIXvwdJqRLdPxVksLI99BSjOgAHLfpO/1JwkLR1GV4w8SQ00l4pyZcJE9EHtbq8sltE05/dzsuta9wPQszXKzfvc22Zg4NLoriX3CNWnKTuHp/yRhV8gloZ1GiJ9CuFaL5YscVV1wkBL28yFCImjhKfFaHBTakW/7BkWnIE3wlhMQ== --region=SG -- --locale=en_SG --landing-token=d3f99e7829e7d1326339adb80a228702b76c3a93c66745cc52328f0665ab3e88 --servers.chat.chat_host=sg1.chat.si.riotgames.com --servers.lcds.lcds_host=prod.lol.garenanow.com --servers.lcds.login_queue_url=https://lq.lol.garenanow.com/login-queue/rest/queues/lol --region=SG --parent-client=GarenaPC
libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: swrast
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  60
  Current serial number in output stream:  59
2021-05-12 20:31:15,525: glxinfo call failed: Command '['glxinfo', '-B']' returned non-zero exit status 1.
2021-05-12 20:31:15,526: No available glxinfo output
2021-05-12 20:31:15,526: Invalid glxinfo received
Traceback (most recent call last):
  File "/usr/games/lutris", line 52, in <module>
    from lutris.gui.application import Application  # pylint: disable=no-name-in-module
  File "/usr/lib/python3/dist-packages/lutris/gui/application.py", line 41, in <module>
    from lutris.gui.installerwindow import InstallerWindow
  File "/usr/lib/python3/dist-packages/lutris/gui/installerwindow.py", line 17, in <module>
    from lutris.installer import interpreter
  File "/usr/lib/python3/dist-packages/lutris/installer/interpreter.py", line 14, in <module>
    from lutris.installer.installer import LutrisInstaller
  File "/usr/lib/python3/dist-packages/lutris/installer/installer.py", line 16, in <module>
    from lutris.services import get_services
  File "/usr/lib/python3/dist-packages/lutris/services/__init__.py", line 2, in <module>
    from lutris.services.gog import GOGService
  File "/usr/lib/python3/dist-packages/lutris/services/gog.py", line 9, in <module>
    from lxml import etree
ImportError: /opt/Xilinx/14.7/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /lib/x86_64-linux-gnu/libicuuc.so.66)

编辑:我目前正在使用以下系统规格 -

Ubuntu 20.04.2 LTS 英特尔 i5-9300H Nvidia GeForce GTX 1650

相关内容