BlackArch/blackarch

edb fails to start due to libcapstone.so version mismatch

Closed this issue · 3 comments

  • [ x] I have searched open and closed issues for duplicates
  • [ x] I am submitting a bug report for existing functionality that does not work as intended

Bug description

edb doesn't start because it expects libcapstone.so.4 but libcapstone.so.5 is installed

Steps to reproduce

  • install edb with "pacman -S edb"
  • start it from the terminal

Actual result: "% edb
edb: error while loading shared libraries: libcapstone.so.4: cannot open shared object file: No such file or directory
"

Expected result: edb should start

Screenshots

Info for developers

Device: Manufacturer Model XVI (Only if you consideer needed, for example, network cards)
GNU/Linux distribution: Endeavour OS
Tool version: 0.0.0

Link to debug log

The package also is currently failing to build:

-- Checking for module 'gdtoa-desktop'
--   Package 'gdtoa-desktop', required by 'virtual:world', not found
-- gdtoa-desktop package wasn't found. Using built in version.
CMake Error at /usr/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package):
  Could not find a package configuration file provided by "Qt5LinguistTools"
  with any of the following names:

    Qt5LinguistToolsConfig.cmake
    qt5linguisttools-config.cmake

  Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or
  set "Qt5LinguistTools_DIR" to a directory containing one of the above
  files.  If "Qt5LinguistTools" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  src/CMakeLists.txt:8 (find_package)


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/noraj/blackarch_chroot/blackarch/build
Failed to build the package.

capstone is a direct dependency of edb. It means that edb, the last time, was built when capstone provided libcapstone.so.4. The fix is easy. Just rebuild edb in a clean chroot.

@noptrix can you rebuild edb in order to fix the mentioned issue? Thanks

The package also is currently failing to build:

-- Checking for module 'gdtoa-desktop'
--   Package 'gdtoa-desktop', required by 'virtual:world', not found
-- gdtoa-desktop package wasn't found. Using built in version.
CMake Error at /usr/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package):
  Could not find a package configuration file provided by "Qt5LinguistTools"
  with any of the following names:

    Qt5LinguistToolsConfig.cmake
    qt5linguisttools-config.cmake

  Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or
  set "Qt5LinguistTools_DIR" to a directory containing one of the above
  files.  If "Qt5LinguistTools" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  src/CMakeLists.txt:8 (find_package)


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/noraj/blackarch_chroot/blackarch/build
Failed to build the package.

due to a missing makedep (qt5-tools). i am building it now