Check if external compression libraries are available at run-time.
This patch ensures that Tor checks if our compression backend libraries are actually available at run-time. This problem happens if Tor is compiled with weak linking where the lack of the external library provided functions will lead to a NULL dereference first time they are called. See: https://bugs.torproject.org/22926
Showing with 53 additions and 9 deletions