Fossil User Forum

fossil 2.26 missing dynamic linker on Raspberry Pi
Login

fossil 2.26 missing dynamic linker on Raspberry Pi

fossil 2.26 missing dynamic linker on Raspberry Pi

(1) By anonymous on 2025-05-27 18:02:54 [link] [source]

Hello. I am running a fossil server on a Raspberry Pi 3 Model B Rev 1.2 with the official Raspbian OS based on Debian 11. The version 2.26 prebuilt binary shows a fossil: No such file or directory message when I try to run it. I believe I am missing the correct dynamic linker on my machine since the file command outputs

./fossil2.26/fossil: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, BuildID[sha1]=fa691d09959f14627fd4f523a0464c8b6c4e139c, for GNU/Linux 3.2.0, stripped

and on my machine I do not have a /lib/ld-linux-armhf.so.3 file, but instead a linker named /lib/ld-linux-aarch64.so.1

$ ll /lib/ld-* lrwxrwxrwx 1 root root 28 Mar 11 2024 /lib/ld-linux-aarch64.so.1 -> aarch64-linux-gnu/ld-2.31.so*

Is my machine too outdated for newer builds that are dynamically linked?

(2) By Martin Gagnon (mgagnon) on 2025-05-27 19:09:46 in reply to 1 [source]

The RaspberryPi build from the download page seems to be compiled for 32bit and your system seems to be 64bit only.

I think you need to enable multiarch to run 32bit binary on your system.
(or you can try to compile it yourself to have native aarch64 binary)