Problem:
When using the latest recut of the Xinuos SCO OpenServer 6 Definitive 2018 installation media, after enabling samba 3 in the /etc/init.d, and starting samba from the /etc/rc2.d the following errors occur:
# ./S99nmbd start
dynamic linker : /usr/sbin/nmbd : could not open /usr/lib/libcom_err.so.1
./S99nmbd: 19191 Killed
# ./S99smbd start
dynamic linker : /usr/sbin/smbd : could not open /usr/lib/libldap-2.2.so.7
./S99smbd: 19193 Killed
Cause:
The installation media’s recut supports Samba version 4 and does not symbolically link the updated libraries to the names of the older libraries Samba 3 requires.
Earlier OpenServer 6 Definitive 2018 installations have Samba 3.0.23Ca installed. When using the recut installation, after installing the update UP1, released from Xinuos, which includes Xinuossamba version 4.10.16l, the prior Samba 3 package should be removed.
Solution:
If you want to continue to use Samba 3 or do not have a license for UP1, symbolically link the missing libraries:
SMBD
ln -s /usr/lib/libldap_r-2.4.so.11 /usr/lib/libldap-2.2.so.7
NMBD
ln -s /usr/lib/libcom_err.so.2 /usr/lib/libcom_err.so.1
ln -s /usr/lib/libgssapi.so.2 /usr/lib/libgssapi.so.1
ln -s /usr/lib/libkrb5.so.25 /usr/lib/libkrb5.so.17
ln -s /usr/lib/libasn1.so.8 /usr/lib/libasn1.so.6
ln -s /usr/lib/libroken.so.19 /usr/lib/libroken.so.16
ln -s /usr/lib/liblber-2.4.so.11 /usr/lib/liblber-2.2.so.7