You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

树莓派3B安装rplay时遇libWFC.so共享库加载错误求助

Fixing "libWFC.so: cannot open shared object file" Error When Installing rplay on Raspberry Pi 3B

Hey there, I’ve dealt with exactly this kind of shared library hiccup on Raspberry Pi devices before—let’s walk through how to fix it.

The error means your system can’t locate the libWFC.so library that rplay depends on to run. Here’s what to try, in order:

  • First, check if the library is already on your Pi
    Run this command to search every directory for libWFC.so:

    sudo find / -name libWFC.so 2>/dev/null
    

    If it spits out a path (like /usr/local/lib/libWFC.so), move straight to the next step. If not, you need to install the library. Start with the package manager—this often works for rplay dependencies:

    sudo apt update && sudo apt install libwfc-dev
    

    If that package doesn’t exist, you’ll have to compile it from source alongside rplay. Make sure you follow rplay’s official build docs closely—they usually list all required dependencies you need to grab first.

  • Update the system’s library cache
    If the library exists but the system can’t find it, we need to tell Linux where to look:

    1. Add the library’s directory to the system’s library path. For example, if it’s in /usr/local/lib, run:
      echo "/usr/local/lib" | sudo tee /etc/ld.so.conf.d/rplay.conf
      
    2. Refresh the shared library cache to apply the change:
      sudo ldconfig
      

    This should make the system recognize libWFC.so the next time you launch rplay.

  • Double-check permissions (if needed)
    If you still get the error after the above steps, make sure the library file has the right permissions so all users can read it:

    sudo chmod 644 /path/to/libWFC.so
    

    Just replace /path/to/ with the actual directory you found earlier.

I’ve used these exact steps to fix missing library issues on Pi 3B before, so they should get rplay up and running for you.

内容的提问来源于stack exchange,提问作者Leon

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.25 07:36:01