配置在 openwrt 系统上配置 samba4 的时候报错

root@OpenWrt ~# smbpasswd -x root
Error loading shared library libtalloc-samba4.so: No such file or directory (needed by /usr/bin/smbpasswd)
Error relocating /usr/bin/smbpasswd: encode_pwd_buffer514_from_str: symbol not found
Error relocating /usr/bin/smbpasswd: dcerpc_samr_ChangePasswordUser4: symbol not found
Error relocating /usr/bin/smbpasswd: generate_random_u64_range: symbol not found
Error relocating /usr/bin/smbpasswd: samba_gnutls_aead_aes_256_cbc_hmac_sha512_encrypt: symbol not found

在软件包管理搜 samba4,看了一遍包名,应该是samb4-libs,装上果然可以了

opkg install samb4-libs