"Failed to load mysqltcl" Is Displayed When HammerDB Is Used
Symptom
The message "Failed to load mysqltcl" is displayed when HammerDB is used.


Key Process and Cause Analysis
Library files required by HammerDB do not exist in the /usr/local/lib64 directory.
Conclusion and Solution
- Copy libmysqlclient* in the database installation path to /usr/local/lib64.
cp /usr/local/mysql-8.0.20-tpch/lib/libmysqlclient.so /usr/local/lib64/
In this example, /usr/local/mysql-8.0.20-tpch/lib/ is the database installation path, and /usr/local/lib64 is the path of the system library files. Change them to the actual paths.
- Upgrade the GCC version to 7.3.0.
Parent topic: Troubleshooting