Printer FriendlyEmail Article Link

TTworkbench: ERROR: sctp_sac: error while loading shared libraries: libTTtri_linux.so: cannot open shared object file: No such file or directory.

Environment/Versions
TTworkbench 32/64 Bit Linux/Windows
Answer
Although the TTsuite-M3UA execution works fine in the GUI, running the tests with TTman.sh may generate some errors.

First the following error:
loading test adapter 'com.testingtech.ttcn.tri.m3ua.M3UATestAdapter'  ERROR: Cannot run program "sctp_sac": java.io.IOException: error=2, No such file or directory Exception: Cannot run program "sctp_sac": java.io.IOException: error=2, No such file or directory

If you add the path sctp_sac to your PATH-variable you can get this message:
ERROR: sctp_sac: error while loading shared libraries: libTTtri_linux.so: cannot open shared object file: No such file or directory

Solution:
Have a look at the environment properties in the GUI (Project -> Properties -> TTCN-3 Settings->Environment), you will see all the settings which shall be done prior the execution in the command line.
Basically your steps where correct, but somehow there must be some wrong settings.

1. Check if you have set your PATH variable like this: export PATH=$ :/bin
2. Check if you set the LD_LIBRARY_PATH like this: export LD_LIBRARY_PATH=$ :/lib:

NOTE: The paths can be relative, too. And the export (sh) command can be replaced by the specific shell command.
 

Product : TTsuites,Tool Handling