Customer Service Center
Spirent KB Article
Doc ID: FAQ17599
Email Article Link
TTworkbench: ERROR: sctp_sac: error while loading shared libraries: libTTtri_linux.so: cannot open shared object file: No such file or directory.
TTworkbench 32/64 Bit Linux/Windows
execution works fine in the GUI, running the tests with
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
-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
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
variable like this:
export PATH=$ :/bin
2. Check if you set the
export LD_LIBRARY_PATH=$ :/lib:
The paths can be relative, too. And the export (sh) command can be replaced by the specific shell command.
Product : TTsuites,Tool Handling