- LD_LIBRARY_PATH/SHLIB_PATH/LIBPATH must have the following library search path
entries in the beginning, in the order listed: /usr/lib:/opt/teradata/client/tmsm/lib:/opt/teradata/client/tmsm/32/lib
For Ecosystem Manager 16.00, this is:
/usr/lib:/opt/teradata/client/em/lib:/opt/teradata/client/em/32/lib. - To use new API functions added in Teradata MSM 13.11 and 14.00, 32-bit client
applications must link to libtmsmapistub.so/libtmsmapistub.sl., which is in /opt/teradata/client/tmsm/32/lib. For 16.00, use
/opt/teradata/client/em/32/lib.
gcc $(LDLAGS) -o SendStart32 SendStart.o $(LIB) -lc -ldl -lnsl -luuid -ltmsmapistub -L/opt/teradata/client/tmsm/32/lib
To use new API functions added in Teradata MSM 13.11 and 14.00, 64-bit client applications must link to libtmsmapistub.so/libtmsmapistub.sl, which is in /opt/teradata/client/tmsm/lib. For 16.00, this is /opt/teradata/client/em/32/lib.
gcc $(LDLAGS) -o SendStart64 SendStart.o $(LIB) -lc -ldl -lnsl -luuid -ltmsmapistub -L/opt/teradata/client/tmsm/lib
These are not required for applications using Teradata MSM API functions in Teradata MSM 13.11 or earlier.
On AIX platforms, client applications must provide either of two macros:
- OS_AIX64 to invoke the 64-bit system Ecosystem Manager 16.00
Edit the client application makefile as follows:
sample64.o: sample.c
$(CC) -c $(CFLAGS) –DOS_AIX64 $(INCLUDE) sample.c
- OS_AIX32 to invoke the 32-bit Ecosystem Manager 16.00
sample32.o: sample.c
$(CC) -c $(CFLAGS) –DOS_AIX32 $(INCLUDE) sample.c