Troubleshooting Tips¶
This appendix lists the following troubleshooting tips.
Unable to Compile Plugins¶
The process for compiling a shared library varies with the platform used, so the Traffic Server API includes the tsxs script you can use to create shared libraries on all supported Traffic Server platforms.
Example¶
Assuming the sample program is stored in the file hello-world.c, you could use the following commands to building a shared library:
tsxs -c hello-world.c -o hello-world.so
To install this plugin in your plugindir use the equivalent of sudo on your platform to execute:
sudo tsxs -o hello-world.so -i