vaclavsvejcar / headroom

©️ Manager for license headers in source code files.
https://doc.norcane.com/headroom/latest/
BSD 3-Clause "New" or "Revised" License
48 stars 3 forks source link

Provide static binary #90

Open fdcds opened 2 years ago

fdcds commented 2 years ago

The Linux binary provided for headroom v0.4.3.0 appears to be dynamically linked:

headroom: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory
.../headroom: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=8503a9aa3d11b083612d6a8d1391b7f231620d93, stripped

It would be nice if the binary was statically linked instead, so it would be independent of the libraries installed by the operating system.

vaclavsvejcar commented 2 years ago

Agree, definitely a good idea! I'll try to figure out how to do that and change the CI script that produces the release binaries.