You are really mixing two different things together - chroot has nothing to do
with the linker paths and/or rpath.
To add rpath you need to add something like this to meson setup:
-Dc_link_args=-Wl,-rpath=${install_dir}/lib
Adding -Wl,--enable-new-dtags and/or -rdynamic to LDFLAGS (-Dc_link_args=)
might be also needed (or not);
But this really hasn't changed between 9.20 and 9.21, there was no explicit
rpath support in autotools.
Ondrej
--
Ondřej Surý (He/Him)
[email protected]
My working hours and your working hours may be different. Please do not feel
obligated to reply outside your normal working hours.
> On 21. 8. 2025, at 17:23, Richard Doty via bind-users
> <[email protected]> wrote:
>
> I am struggling a little to adapt to meson on linux.
>
> I noticed in
> https://www.mail-archive.com/[email protected]/msg35684.html that
> rpath was removed from the bind build. Now I know why my binaries could not
> find their libraries (I edited meson.build to re-add rpath). Am I the only
> end-user who still uses --prefix ?
>
> I also noticed that the new bind is missing chroot support; I cannot find any
> mention of this change in the release notes. I resorted to
> $ CFLAGS=-DHAVE_CHROOT=1 meson setup
>
> Is there a better way to recover previously available configure options like
> --enable_chroot ?
>
> Thanks,
> Richard.
>
> --
> Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from
> this list
>
> ISC funds the development of this software with paid support subscriptions.
> Contact us at https://www.isc.org/contact/ for more information.
>
>
> bind-users mailing list
> [email protected]
> https://lists.isc.org/mailman/listinfo/bind-users
--
Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from
this list
ISC funds the development of this software with paid support subscriptions.
Contact us at https://www.isc.org/contact/ for more information.
bind-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/bind-users