Package Details: imhex 1.38.1-2

Git Clone URL: https://aur.archlinux.org/imhex.git (read-only, click to copy)
Package Base: imhex
Description: A Hex Editor for Reverse Engineers, Programmers and people that value their eye sight when working at 3 AM
Upstream URL: https://imhex.werwolv.net
Licenses: GPL-2.0-or-later
Conflicts: imhex-patterns-git
Provides: imhex-patterns
Submitter: KokaKiwi
Maintainer: KokaKiwi
Last Packager: KokaKiwi
Votes: 71
Popularity: 1.10
First Submitted: 2020-12-04 11:19 (UTC)
Last Updated: 2026-08-14 14:33 (UTC)

Latest Comments

1 2 3 4 5 6 .. 9 Next › Last »

Charon77 commented on 2026-09-20 09:30 (UTC)

[ERROR] [libimhex | Init Tasks] Loading library 'ui.hexpluglib' failed: fonts.hexpluglib: cannot open shared object file: No such file or directory!

can reproduce, and I think I found the fix. ImHex use some CMake functionality to resolve plugin path, and setting CMAKE_SKIP_RPATH=OFF (maybe just removing it?) works. Without this, transitive plugin loading fails as ImHex is trying to load /usr/lib/fonts.hexpluglib which of course does not exist.

diff --git a/PKGBUILD b/PKGBUILD
index 042d49c..8fd2fd8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -34,7 +34,7 @@ build() {
     -D CMAKE_POLICY_VERSION_MINIMUM=3.5 \
     -D CMAKE_BUILD_TYPE=Release \
     -D CMAKE_INSTALL_PREFIX=/usr \
-    -D CMAKE_SKIP_RPATH=ON \
+    -D CMAKE_SKIP_RPATH=OFF \
     -D IMHEX_OFFLINE_BUILD=ON \
     -D IMHEX_IGNORE_BAD_CLONE=ON \
     -D IMHEX_STRIP_RELEASE=OFF \

jazzinghen commented on 2026-08-25 02:55 (UTC)

ImHex starts and the window is completely black, both using the integrated Intel graphics and the discrete Nvidia graphics. I wanted to paste the output of the execution of both imhex and prime-run imhex, but I'm hitting the characters limit.

Both executions complain about these two things:

  • [ERROR] [libimhex | Init Tasks] Loading library 'ui.hexpluglib' failed: fonts.hexpluglib: cannot open shared object file: No such file or directory!
  • [ERROR] [libimhex | Init Tasks] Loading library 'diffing.hexplug' failed: ui.hexpluglib: cannot open shared object file: No such file or directory!
  • [ERROR] [libimhex | Init Tasks] Loading library 'builtin.hexplug' failed: ui.hexpluglib: cannot open shared object file: No such file or directory!
  • [ERROR] [libimhex | Init Tasks] Loading library 'disassembler.hexplug' failed: ui.hexpluglib: cannot open shared object file: No such file or directory!

I'm using Gnome shell on Wayland, if that helps.

Martchus commented on 2026-08-14 17:10 (UTC)

Thanks, it builds with the change you pushed.

Martchus commented on 2026-08-14 13:56 (UTC)

I've also just ran into this build error. Have you already investigated it? If you already have a fix you can push it now again.

KokaKiwi commented on 2026-08-08 10:49 (UTC) (edited on 2026-08-08 10:50 (UTC) by KokaKiwi)

@bintoss, that may be caused by a fmt lib update. Will test that locally

i won't be able to update the package until the AUR git-ssh lockdown is lifted tho

bintoss commented on 2026-08-08 01:55 (UTC)

lib/external/pattern_language fails to build with extra/fmt@12.2.0-1

error: ‘format’ is not a member of ‘fmt’; did you mean ‘std::format’?

The workaround by shizeeg at https://aur.archlinux.org/packages/imhex#comment-1029087 got the build further along, but it failed at

[ 56%] Linking CXX shared library libimhex.so
/usr/bin/ld: /usr/lib/libLLVMDemangle.a: error adding symbols: file format not recognized
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libimhex/CMakeFiles/libimhex.dir/build.make:1021: lib/libimhex/libimhex.so.1.38.1] Error 1
make[1]: *** [CMakeFiles/Makefile2:3301: lib/libimhex/CMakeFiles/libimhex.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

acd2048 commented on 2025-12-25 16:37 (UTC)

Missing a dependancy? imhex: error while loading shared libraries: libfmt.so.11: cannot open shared object file: No such file or directory

bluedevil commented on 2025-06-24 14:56 (UTC)

do I really need dotnet-runtime for building this app? Because I do not need the package for running the app!

shizeeg commented on 2025-06-16 20:45 (UTC)

https://github.com/WerWolv/ImHex/issues/2291 ImHex-1.37.4 doesn't compile with the extra/fmt-11.2.0 so we have to use bundled fmt for now:

diff --git a/PKGBUILD b/PKGBUILD
index 035e5f6..59c2fca 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,7 @@ license=('GPL-2.0-or-later')
 arch=('x86_64')
 depends=('glfw' 'mbedtls' 'curl' 'dbus'
          'freetype2' 'file' 'hicolor-icon-theme' 'xdg-desktop-portal' 'fontconfig'
-         'fmt' 'yara' 'capstone')
+         'yara' 'capstone')
 makedepends=('git' 'cmake'
              'llvm' 'librsvg' 'nlohmann-json' 'libxrandr'
              'python' 'cli11' 'dotnet-runtime')
@@ -42,7 +42,7 @@ build() {
     -D IMHEX_BUNDLE_DOTNET=OFF \
     -D USE_SYSTEM_LLVM=ON \
     -D USE_SYSTEM_YARA=ON \
-    -D USE_SYSTEM_FMT=ON \
+    -D USE_SYSTEM_FMT=OFF \
     -D USE_SYSTEM_NLOHMANN_JSON=ON \
     -D USE_SYSTEM_CAPSTONE=ON \
     -D USE_SYSTEM_CLI11=ON \

leo980 commented on 2025-04-15 08:08 (UTC)

Besides, this package adopt options=(!strip) in its PKGBUILD, i have no clue on the reason of such practice.

Doing so would bundle the debug symbols with the binary package, instead of building a separated -debug package, which bloats the package size for those who do not need the debug symbols.

# file size with !strip
-rw-r--r-- 1 leo leo 175M Apr 15 13:05 imhex-1.37.4-1-x86_64.pkg.tar.zst

# file sizes without !strip
-rw-r--r-- 1 leo leo  27M Apr 15 13:15 imhex-1.37.4-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 leo leo 148M Apr 15 13:15 imhex-debug-1.37.4-1-x86_64.pkg.tar.zst

I would also propose a patch to remove this build option.

From d29b6e5e9514f0d226006c8c64623e8af14f0c23 Mon Sep 17 00:00:00 2001
From: Leo <i@hardrain980.com>
Date: Tue, 15 Apr 2025 13:09:49 +0800
Subject: [PATCH] PKGBUILD: remove `!strip` from build options

---
 .SRCINFO | 1 -
 PKGBUILD | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 4868c07..63e2b25 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -30,7 +30,6 @@ pkgbase = imhex
    provides = imhex-patterns
    conflicts = imhex-patterns-git
    options = !lto
-   options = !strip
    source = imhex-1.37.4.tar.gz::https://github.com/WerWolv/ImHex/releases/download/v1.37.4/Full.Sources.tar.gz
    source = imhex-patterns-1.37.4.tar.gz::https://github.com/WerWolv/ImHex-Patterns/archive/refs/tags/ImHex-v1.37.4.tar.gz
    source = 2a6d3059172dd236a756905769a1a4ece376d8a3.patch
diff --git a/PKGBUILD b/PKGBUILD
index 72d9d75..822861e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,7 +27,7 @@ sha256sums=('711481cc8dfc368d1b88f5d3e8a44d65f23fa43eb9db092599924f3a4cf1aaa2'
 b2sums=('11f93ca310ddec8ec7d074d5450a02f3147d40aaa92387fbe7fce3be08445e129bbd7336d923e971a2f7f2b6df778a6210de73060cb91abe85161e7fd88588b7'
         'c8699f9f26faeae784b4c4cb14b682d0f4d0c544ef8c9596b8688c19e6066d7101a7c32979ee807cd4a05225fe2548a8759b1fd0a07c578ea5c0fcdb9f104e69'
         'd7911a267d6d0ac31b0d3fa4cd2619bf77138481e83f5ace6e095c8f87d74d17b57cfcbe03fc264c40367cee8df0739f51146c308749b11f4c44fd5c64be3233')
-options=(!lto !strip)
+options=(!lto)

 prepare() {
   patch -p1 -i "${srcdir}/2a6d3059172dd236a756905769a1a4ece376d8a3.patch" -d "${srcdir}/ImHex/lib/third_party/edlib";
-- 
GitLab