#1129264 force-ip-protocol: object '/usr/lib/*/libforce-ip-protocol-ipv4.so' from LD_PRELOAD cannot be preloaded

Package:
force-ip-protocol
Source:
force-ip-protocol
Description:
force other software to use only IPv4 or IPv6 for network connections
Submitter:
Fernando Lucas
Date:
2026-02-28 13:03:02 UTC
Severity:
normal
#1129264#5
Date:
2026-02-28 12:40:28 UTC
From:
To:
Dear Maintainer,

ipv4 curl https://api64.ipify.org
ERROR: ld.so: object '/usr/lib/*/libforce-ip-protocol-ipv4.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

Explicitly preloading works

LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libforce-ip-protocol-ipv4.sox-gnu/libforce-ip-protocol-ipv4.so curl https://api64.ipify.org

the suggestion is that the wrapper should substitute the dpkg architecture instead of using * when calculating the path