Re: cross compile heimdal linking libbsd issue

Martin Kjær Jørgensen via samba <[email protected]> Wed, 17 Jun 2026 15:53:46 +0200
Newsgroups gmane.network.samba.general
Message-ID <82380d3b.AMYAAJ2PyFsAAAAAAAAABGWc4AQAAYKKTDEAAAAAADUqzQBqMqbw@mailjet.com>
On 06/15/26 14:55 PM, Michael Tokarev wrote:

> BTW, there's also pkg.samba.mitkrb5 build profile in debian samba
> package, which does exactly that - builds samba with MIT KRB5.  It
> might be useful for you in this context.
>
> Speaking of cross-compiling samba in general (without qemu-user) - it is
> quite tricky due to the samba build system.  Basically, it assumes native
> compilation.  For the start, it uses the same python for build and
> for host.  These compile_et binaries you found - it's the same issue,
> they're built for the host architecture instead of for build arch.
> Heimdal itself can be cross-built, but not with samba's build system.

Do you know if it is possible to build samba without the need for KRB5 at all,
and thereby disable all samba features that needs it?

-- 
/Martin

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