Unresolved symbol errors occur on AIX when you do either of the following:
The errors are similar to the following:
Exception in thread "main" java.lang.UnsatisfiedLinkError: fontmanager (Symbol resolution failed for /opt/freeware/lib/libharfbuzz.a[libharfbuzz.so.0] because:
Symbol GLOBAL_AIXI_libintl_so (number 56) is not exported from dependent
module /usr/lib/libintl.a[libintl.so.8].
Symbol GLOBAL_AIXD_libintl_so (number 57) is not exported from dependent
module /usr/lib/libintl.a[libintl.so.8].
Symbol resolution failed for /opt/freeware/lib/libfreetype.a[libfreetype.so.6] because:
Symbol GLOBAL_AIXI_libbz2_so (number 4) is not exported from dependent
module /usr/lib/libintl.a[libintl.so.8]
In order for SAS to use Java on AIX, you must install libfreetype from the AIX Toolbox for Open Source Software. The installation of libfreetype.a is to the /opt/freeware/lib directory.
The symbol errors occur because, when looking for dependent shared objects for libfreetype, the system libraries in /usr/lib are searched before the similar libraries in /opt/freeware/lib. The system libraries are not compatible with /opt/freeware/lib/libfreetype.a.
Do the following to resolve these errors.
Before launching SAS Deployment Manager or SAS Deployment Wizard, modify the LIBPATH environment variable to place /opt/freeware/lib before /usr/lib:
export LIBPATH=/opt/freeware/lib:/usr/lib
To resolve the errors that occur while running SAS, edit the SASHOME/SASFoundation/9.4/bin/sasenv_local file and LIBPATH:
LIBPATH=/opt/freeware/lib:/usr/lib:$LIBPATH
export LIBPATH
Ordering the directories in this way preferentially loads the files from /opt/freeware/lib before files from /usr/lib. As a result, the compatible libraries located in /opt/freeware/lib are used, which avoids the errors.