Development version of BIND 9 - 9.21.10 with meson build system

Ondřej Surý ondrej at isc.org
Wed Oct 1 15:40:55 UTC 2025


> On 1. 10. 2025, at 17:26, Havard Eidnes <he at uninett.no> wrote:
> 
> However, after the install is done, dig is placed in $PREFIX/bin,
> while the shared libraries are put in $PREFIX/lib, i.e. different
> directories.  The $ORIGIN for the installed 'dig' will be
> $PREFIX/bin, and you will not find the shared libraries which dig
> depends on in that directory.  Instead, you need to refer to
> $ORIGIN/../lib/.

I don't think it is a task for the individual packages to deal with the
dynamic linker quirks. This is something that needs to be fixed
either on the operating system level or at the meson level.

On Linux, there's no rpath set at all and it all works. The decision
to not add default install paths to dynamic linker path was not ours,
so I don't know why we should deal with this.

Also this is more generic problem in meson build system, so it would
make sense to monkey patch the rpath there and not in every application
that uses the build system

Ondrej
--
Ondřej Surý (He/Him)
ondrej at isc.org

My working hours and your working hours may be different. Please do not feel obligated to reply outside your normal working hours.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Message signed with OpenPGP
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20251001/bca4c270/attachment.sig>


More information about the bind-users mailing list