The encryptor file is compiled in Linux, but the above error: Undefined Symbol: z11startservicelakjdfljaldkjflllll is reported when the./encryptor is executed.
Cause analysis: The startservice function definition cannot be found during execution.
--> The. So library that encapsulates the function of startservice is not found.
--> The library name of the function that encapsulates startservice is libsocklib3.so (stored in the lib directory of the local directory)
--> Run the echo $ LD_LIBRARY_PATH command to find the library path:
/Home/Oracle/tuxedo11gr1/lib:
/Home/Oracle/tuxedo11gr1/JRE/lib/i386/Server:
/Home/Oracle/tuxedo11gr1/JRE/bin:
/Usr/local/lib:
/Usr/lib/Oracle/11.1.0.1/client/lib
Finally, update the libsocklib3.so library in/usr/lib/libsocklib3.so to libsocklib3.so in the local directory Lib.
./Encryptor: Undefined Symbol: z11startservicelakjdfljaldkjflllll