Why are you exporting LIBPATH ?
Can you try without setting LIBPATH ?
samba is 32bit and in your LIBPATH you are exporting 64bit library path before 32bit and it is picking 64bit library.
------------------------------
SANKET RATHI
------------------------------
Original Message:
Sent: Fri June 03, 2022 10:09 AM
From: Lukas Schmid
Subject: winbindd ist not starting
Hi all
We try to run samba on a AIX 7200-05-03-2148 and the appropriate rpms:
rpm -qa | grep samba
samba-common-4.14.12-1.ppc
samba-libs-4.14.12-1.ppc
samba-winbind-4.14.12-1.ppc
samba-test-libs-4.14.12-1.ppc
samba-python3-4.14.12-1.ppc
samba-winbind-krb5-locator-4.14.12-1.ppc
samba-client-4.14.12-1.ppc
samba-devel-4.14.12-1.ppc
samba-winbind-clients-4.14.12-1.ppc
samba-4.14.12-1.ppc
samba-test-4.14.12-1.ppc
samba-winbind-devel-4.14.12-1.ppc
samba-pidl-4.14.12-1.ppc
I have set the LIBPTAH to: export LIBPATH=/opt/freeware/lib64:/opt/freeware/lib:/usr/lib
When I try to start it fails with this error:
********
exec(): 0509-036 Cannot load program /opt/freeware/sbin/winbindd because of the following errors:
0509-150 Dependent module /opt/freeware/lib64/libldap.a(libldap-2.4.so.2) could not be loaded.
0509-103 The module has an invalid magic number.
Starting winbindd failed
*********
Binary: /opt/freeware/sbin/winbindd -D -s /samba/etc/smb.conf
Any idea whta could be wrong?
Thanks in advance, Lukas
------------------------------
Lukas Schmid
------------------------------