V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
awen233333
V2EX  ›  Linux

求助, ubuntu 报错,缺少动态库,谷歌搜索不到

  •  
  •   awen233333 · 2021-11-23 17:28:57 +08:00 via Android · 3358 次点击
    这是一个创建于 856 天前的主题,其中的信息可能已经有所发展或是发生改变。
    ubuntu@VM-8-7-ubuntu:~$ sudo startx


    X.Org X Server 1.20.11
    X Protocol Version 11, Revision 0
    Build Operating System: linux Ubuntu
    Current Operating System: Linux VM-8-7-ubuntu 5.4.0-77-generic #86-Ubuntu SMP Thu Jun 17 02:35:03 UTC 2021 x86_64
    Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-77-generic root=UUID=b986dc3b-6b82-44d5-acb8-6cbad5e357d5 ro net.ifnames=0 biosdevname=0 console=ttyS0,115200 console=tty0 panic=5 intel_idle.max_cstate=1 intel_pstate=disable crashkernel=4G-:512M
    Build Date: 06 July 2021 10:17:51AM
    xorg-server 2:1.20.11-1ubuntu1~20.04.2 (For technical support please see http://www.ubuntu.com/support)
    Current version of pixman: 0.38.4
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.1.log", Time: Tue Nov 23 17:15:27 2021
    (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    pci id for fd 14: 1013:00b8, driver (null)
    MESA-LOADER: failed to open cirrus: /usr/lib/dri/cirrus_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
    failed to load driver: cirrus
    (II) modeset(0): Initializing kms color map for depth 16, 6 bpc.
    第 1 条附言  ·  2021-11-24 09:30:09 +08:00
    昨天回复里的都试了,还是没发现 cirrus_dri.so
    12 条回复    2021-11-30 15:47:51 +08:00
    awen233333
        1
    awen233333  
    OP
       2021-11-23 17:30:30 +08:00 via Android
    cirrus_dri.so 是干什么的,网上只看到有 ciccus_drv.so
    Nangle
        2
    Nangle  
       2021-11-23 17:44:59 +08:00
    cat /var/log/Xorg.1.log 看看有没有什么发现。
    lc1450
        3
    lc1450  
       2021-11-23 17:45:56 +08:00
    defunct9
        4
    defunct9  
       2021-11-23 17:47:12 +08:00
    开 ssh ,让我上去看看
    Nangle
        5
    Nangle  
       2021-11-23 17:51:00 +08:00
    @awen233333 这是驱动吧。可能驱动有问题。看能不能重装下驱动。
    kokutou
        6
    kokutou  
       2021-11-23 17:51:38 +08:00 via Android
    显卡驱动
    jim9606
        7
    jim9606  
       2021-11-23 18:10:39 +08:00
    这个是 cirrus 的用户层驱动,虚拟机常用。
    通常由 mesa3d 提供驱动,ubuntu 通常是 libgl1-mesa-dri 提供。
    huangzxx
        8
    huangzxx  
       2021-11-23 18:20:06 +08:00
    试试
    apt-file find cirrus_dri.so
    awen233333
        9
    awen233333  
    OP
       2021-11-24 09:27:31 +08:00 via Android
    @jim9606 装了,没找到这个动态库
    awen233333
        10
    awen233333  
    OP
       2021-11-24 11:30:39 +08:00 via Android
    @Nangle 没有发现,找不到相关的东西
    liuxu
        11
    liuxu  
       2021-11-25 09:59:41 +08:00
    https://packages.debian.org/buster/xserver-xorg-video-cirrus

    原则上你应该是需要根据官方文档重新安装 xorg
    Oa
        12
    Oa  
       2021-11-30 15:47:51 +08:00
    其实吧,你可以再装一台虚拟机,从这台新装的虚拟机上拷个动态库过去。一般 iso 镜像里面有初始的动态库,加载镜像选修复模式重新链接动态库就行了。当然,之后整的动态库就没法这么搞了。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2908 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 00:03 · PVG 08:03 · LAX 17:03 · JFK 20:03
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.