Running FreeBSD 13.0p3 on a Raspberry Pi2B (Armv7 arch). Installed Samba412 from ports on the machine itself as well as from my own Poudriere-built package repo (local builds take forever). Also tried with a clean FreeBSD 13.0 RELEASE image from the project FTP. The errors remain the same, regardless. Point being that I need Samba412 to use MIT Kerberos and OpenLDAP SASL-client for it to play nice when installed alongside with SSSD. ImportError: /usr/local/lib/libunwind.so.8: Undefined symbol "__aeabi_uidiv"
This same issue also affects net/samba413 for that matter.
FYI, samba412 expired and got removed.
Issue is still current on Samba 4.16 (at least, didn't check the others) on armv7.
# samba-tool Traceback (most recent call last): File "/usr/local/bin/samba-tool", line 33, in <module> from samba.netcmd.main import cmd_sambatool File "/usr/local/lib/python3.9/site-packages/samba/__init__.py", line 29, in <module> import samba.param ImportError: /usr/local/lib/libunwind.so.8: Undefined symbol "__aeabi_uidiv"
Well, this isn't really a Samba issue, but rather libunwind. But, looking through the Bugzilla, I think that https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210237#c8 should give you a clue what could be wrong with your toolchain..
*** This bug has been marked as a duplicate of bug 271087 ***