cross compile heimdal linking libbsd issue

Martin Kjær Jørgensen via samba <[email protected]> Sun, 14 Jun 2026 15:54:47 +0200
Newsgroups gmane.network.samba.general
Message-ID <03a106ca.AUgAAJxXdUwAAAAAAAAABGWc4AQAAYKKTDEAAAAAADUqzQBqLrKp@mailjet.com>
Hey list,

I am trying to cross compile samba on x86_64 to aarch64 on a Debian'ized
system using ptxdist rules. ./configure runs okay but it seems linking compile_et
fails:

/build-target/samba-4.23.6/bin/compile_et: error while loading shared libraries: libbsd.so.0:     
cannot open shared object file: No such file or directory

If I install libbsd0:arm64 on the host, the entire samba build finishes
correctly. 

Are there special building/linking exceptions to heimdal, or have I configured
something wrong, or maybe ptxdist cflags and ldflags are not propagated
correctly to thirdparty projects?

-- 
/Martin

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba