> On 1. 10. 2025, at 17:26, Havard Eidnes <h...@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)
ond...@isc.org

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


Attachment: signature.asc
Description: Message signed with OpenPGP

-- 
Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from 
this list.

Reply via email to