![]() ![]() Checking database library for MySQLĮrror: failed to load mysqltcl - couldn't load file "/home/steve/HammerDB-4.1/lib/mysqltcl-3.052/": libmysqlclient.so.21: cannot open shared object file: No such file or directoryĮnsure that MySQL client libraries are installed and the location in the LD_LIBRARY_PATH environment variable On Linux we run a similar test with librarycheck, however in this instance the library file is not found, although note that it identifies the file that is missing as libmysqlclient.so.21. This shows that the key dependency is on the 64-bit libmysql.dll. In the following example libmysqltcl.dll is opened for MySQL. On Windows the Dependency Walker Utility can be used to determine the dependencies and on Linux the command ldd.įor example on Windows use dependency walker to open the HammerDB library for your chosen database. Refer to the Test Matrix to determine which database versions HammerDB was built against. The following table illustrates the first level library that HammerDB requires however there may be additional dependencies. In the examples it can be seen that the libraries for all databases were found and loaded. loaded library tdbc::odbc for MSSQLServer", Listening for HTTP requests on TCP port 8080 Starting HammerDB Web Service on port 8080 Initialized SQLite on-disk database C:/Users/Steve/AppData/Local/Temp/hammer.DB using existing tables Librarycheck is also provided in the HammerDB Web Service. loaded library tdbc::odbc for MSSQLServer loaded library Oratcl for OracleĬhecking database library for MSSQLServer The xml is well-formed, applying configuration To run this utility run the following command. The HammerDB command line tool can be used to check the status of library availability for all databases. Note that it is only necessary to load the libraries for the database that your are testing. However as the client libraries are dynamically linked it is essential that the correct client libraries are already installed and environment variables set to ensure that HammerDB can find the correct libraries. For example if a bug is detected in a particular library then this can be upgraded without requiring the HammerDB libraries to be rebuilt. HammerDB does not statically link the 3rd party libraries to minimise executable size and provide flexibility in the third-party libraries used. This client library will also typically be installed with database server software. 8. Verifying the Installation of Database Client Librariesįor all of the databases that HammerDB supports it is necessary to have a third-party client library installed that HammerDB can use to connect and interact with the database. ![]()
0 Comments
Leave a Reply. |