8wDlpd.png
8wDFp9.png
8wDEOx.png
8wDMfH.png
8wDKte.png

ubuntu linux 上的 bazel 测试执行错误 `libfdb_c.so: 无法打开共享对象文件` foundationdb 文件

K Kumar 2月前

75 0

团队,使用 Bazel 构建我的第一个应用程序并出现此错误。有什么提示吗?是否缺少文件路径或库路径?如果是,我该如何根据我的系统进行设置?bazel-out/k8-opt-exec-2B5CBBC6/bin/src/pip...

团队,使用 Bazel 构建我的第一个应用程序并出现此错误。有什么提示吗?

是否缺少文件路径或库路径?如果是,我该如何根据我的系统进行设置?

bazel-out/k8-opt-exec-2B5CBBC6/bin/src/pipelines/debugging/temporal/lib/debug_activities/mocks/mocks_mock_gomock_prog_bin_/mocks_mock_gomock_prog_bin: error while loading shared libraries: libfdb_c.so: cannot open shared object file: No such file or directory
2024/05/09 23:22:44 Loading input failed: exit status 127

分销商 ID:Ubuntu 描述:Ubuntu 20.04.2 LTSRelease:20.04 代号:focal

LD_LIBRARY_PATH = / usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu:/usr/local/samu/lib:/usr/local/samu/lib64

帖子版权声明 1、本帖标题:ubuntu linux 上的 bazel 测试执行错误 `libfdb_c.so: 无法打开共享对象文件` foundationdb 文件
    本站网址:http://xjnalaquan.com/
2、本网站的资源部分来源于网络,如有侵权,请联系站长进行删除处理。
3、会员发帖仅代表会员个人观点,并不代表本站赞同其观点和对其真实性负责。
4、本站一律禁止以任何方式发布或转载任何违法的相关信息,访客发现请向站长举报
5、站长邮箱:yeweds@126.com 除非注明,本帖由K Kumar在本站《ubuntu》版块原创发布, 转载请注明出处!
最新回复 (0)
  • 我正在尝试在 Ubuntu 20.04 LTS 上构建一个软件。CMakeLists.txt 包含以下行:find_package(Qt5 COMPONENTS Core Gui Widgets PrintSupport Multimedia MultimediaWidgets OpenGL...

    我正在尝试在 Ubuntu 20.04 LTS 上构建一个软件。CMakeLists.txt 包含以下行:

    find_package(Qt5 COMPONENTS Core Gui Widgets PrintSupport Multimedia MultimediaWidgets OpenGL SVG uitools REQUIRED)
    

    我的所有软件包都已更新。我运行 cmake . 并得到:

    CMake Warning (dev) in CMakeLists.txt:
      No project() command is present.  The top-level CMakeLists.txt file must
      contain a literal, direct call to the project() command.  Add a line of
      code such as
    
        project(ProjectName)
    
      near the top of the file, but after cmake_minimum_required().
    
      CMake is pretending there is a "project(Project)" command on the first
      line.
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package):
      Could not find a package configuration file provided by "Qt5SVG" with any
      of the following names:
    
        Qt5SVGConfig.cmake
        qt5svg-config.cmake
    
      Add the installation prefix of "Qt5SVG" to CMAKE_PREFIX_PATH or set
      "Qt5SVG_DIR" to a directory containing one of the above files.  If "Qt5SVG"
      provides a separate development package or SDK, be sure it has been
      installed.
    Call Stack (most recent call first):
      src/CMakeLists.txt:16 (find_package)
    

    之前,我在使用 Qt Multimedia 时遇到了类似的错误,我简单地用以下方法修复了它:

    sudo apt install qtmultimedia5-dev
    

    请注意,SVG 之前的所有功能都运行良好。但是,安装 Qt SVG 时我运气不佳。我尝试过:

    sudo apt install qttools5-dev libqt5svg5-dev
    sudo apt install python3-pyqt5.qtsvg python3-pyqt5.qtsvg-dbg python3-pyside2.qtsvg
    sudo apt install git build-essential cmake qt5-default qtscript5-dev libssl-dev qttools5-dev qttools5-dev-tools qtmultimedia5-dev libqt5svg5-dev libqt5webkit5-dev libsdl2-dev libasound2 libxmu-dev libxi-dev freeglut3-dev libasound2-dev libjack-jackd2-dev libxrandr-dev libqt5xmlpatterns5-dev libqt5xmlpatterns5 libqt5xmlpatterns5-private-dev
    sudo apt install cmake cmake-gui libboost-date-time-dev libboost-dev libboost-filesystem-dev libboost-graph-dev libboost-iostreams-dev libboost-program-options-dev libboost-python-dev libboost-regex-dev libboost-serialization-dev libboost-thread-dev libcoin-dev libeigen3-dev libgts-bin libgts-dev libkdtree++-dev libmedc-dev libocct-data-exchange-dev libocct-ocaf-dev libocct-visualization-dev libopencv-dev libproj-dev libpyside2-dev libqt5opengl5-dev libqt5svg5-dev qtwebengine5-dev libqt5x11extras5-dev libqt5xmlpatterns5-dev libshiboken2-dev libspnav-dev libvtk7-dev libx11-dev libxerces-c-dev libzipios++-dev occt-draw pyside2-tools python3-dev python3-matplotlib python3-packaging python3-pivy python3-ply python3-pyside2.qtcore python3-pyside2.qtgui python3-pyside2.qtsvg python3-pyside2.qtwidgets python3-pyside2.qtnetwork python3-pyside2.qtwebengine python3-pyside2.qtwebenginecore python3-pyside2.qtwebenginewidgets python3-pyside2.qtwebchannel python3-markdown python3-git qtbase5-dev qttools5-dev swig libyaml-cpp-dev
    

    所以我安装了依赖项。我还尝试安装几乎所有在线解决方案中用于解决此问题的所有东西,希望以某种方式也需要其他依赖项之一。仍然没有运气。

    如果我删除 SVG,则 CMake 无法找到 uitools 并出现相同错误。请注意,我也安装了上面的 uitools。CMake 仍然找不到它。

    这是怎么回事?我该如何调试它?也就是说,CMake 在哪里查找?

返回
作者最近主题: