If you plan to use bulk copy routines, link in the libblk bulk copy library. If you plan to use bulk-copy routines in a threaded applications, link in the libblk_r bulk-copy library.
To link in the bulk-copy library:
In non-threaded applications, add -lblk before -lct on the link line.
In multithreaded applications, add -lblk_r before -lct_r on the link line.
See the Open Client and Open Server Common Libraries Reference Manual for more information on bulk copying.