After you create your C++ file for your new user-defined shared library, compile the C++ file by using the nzudxcompile command.
The command is in the /nz/kit/bin/adm directory. The compilation process creates the object files that run on the IBM® Netezza® host and on the Netezza SPUs.
You compile and link shared library C++ files to make it usable for the UDXs that reference them. You use the nzudxcompile command to compile and link a shared library for the host environment and on the SPUs.
To compile and link a shared library named mylib:
After you create the compiled object files, you must register the library with the Netezza system so that other UDXs can specify it as a dependency.