Open 1ma opened 1 month ago
Ubuntu 22.04 still packs an untagged version of libsecp256k1 (oof).
$ apt-cache policy libsecp256k1-0
libsecp256k1-0:
Installed: (none)
Candidate: 0.1~20210825-2
Version table:
0.1~20210825-2 500
500 http://es.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
Ubuntu 24.04 and Debian 12 have both 0.2.0
. This could be the targeted min version.
$ apt-cache policy libsecp256k1-1
libsecp256k1-1:
Installed: 0.2.0-2
Candidate: 0.2.0-2
Version table:
*** 0.2.0-2 500
500 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages
100 /var/lib/dpkg/status
Until the extension is added to the PECL registry it will be always too awkward to install for most people.
Ideally it should be a matter of just typing
pecl install secp256k1_nostr
.Relatedly it should be also possible to build the extension using versions of the secp256k1 library from the distro's package manager, not only the vendored repository.
References
PECL submission guidelines