Page MenuHome GnuPG

Improve Speedo for Linux to set DT_RUNPATH.
Closed, ResolvedPublic

Description

This will allow us to easier install several gpg versions on Linux and other ELF systems and using the right libraries. GnuPG already knows where to find it's binaries (with the help of gpgconf.ctl) but shared objects files are more problematic.

FWIW, Speedo is our automatic build system: make -f build-aux/speedo.mk

Event Timeline

werner triaged this task as Normal priority.Sep 7 2023, 3:55 PM
werner created this task.
werner changed the task status from Open to Testing.Jan 12 2024, 1:55 PM

Now you can untar and run

cd gnupg-2.4.4
make -f build-aux/speedo.mk native
sudo  make -f build-aux/speedo.mk install SYSROOT=/usr/local

which installs gnupg 2.4.4 to /usr/local and can be instaltly be used with all libraries. For testing it is often useful to
use a different target directory and add its bin subdir then to the PATH.

werner claimed this task.
werner added a subscriber: alexk.

@alexk and me tested this. The core functionality works.