User guide

17-33
Using the PLI
Instead you enter the -load compile-time option to specify the
registration routine. The syntax is as follows:
-load shared_library:registration_routine
You do not have to specify the pathname of the shared library if that
path is part of your LD_LIBRARY_PATH environment variable.
The following are some examples of using this option:
-load lib1:my_register
The my_register() routine is in lib1.so. The location of lib1.so is in
the LD_LIBRARY_PATH environment variable.
-load lib1:my_register,new_register
The registration routines my_register() and new_register() are in
lib1.so.The location of lib1.so is in the LD_LIBRARY_PATH
environment variable.
-load lib1:my_register -load lib2:new_register
The registration routine my_register() is in lib1.so and the second
registration routine new_register() is in lib2.so. The path to both
of these libraries are in the LD_LIBRARY_PATH environment
variable. You can enter more than one -load option to specify
multiple shared libraries and their registration routines.
-load lib1.so:my_register
The registration routine my_register() is in lib1.so. The location of
lib1.so is in the LD_LIBRARY_PATH environment variable.