clightning-dumpkeys icon indicating copy to clipboard operation
clightning-dumpkeys copied to clipboard

Static link and fix custom PREFIX

Open Sjors opened this issue 11 months ago • 0 comments

This lets you do something like so:

mkdir legacy
mkdir src
git clone https://github.com/bitcoin-core/secp256k1.git
cd secp256k1
git checkout 3db0560606acb285cc7ef11662ce166ed67e9015
./autogen
./configure --prefix=/home/lightning/legacy
make
make install
cd ..

git clone https://github.com/jb55/clightning-dumpkeys
PREFIX=/home/lightning/legacy make

This avoids polluting your normal libraries with an arbitrary (ancient) version of libsecp. As well as lets you do this with root permissions (no /usr/local)

I'm not a build-system guru though.

Sjors avatar Aug 01 '23 11:08 Sjors