Why do I get "error HY000:0:0[unixODBC][Easysoft ODBC]General error: Failed to initialise licensing - No valid licenses for this product found, return code 3"?

Our software currently does not support the termination of lines in the licenses file with a carriage return and a line feed. Typically, this happens when license keys are added to the licenses file using a Windows-based text editor.

First of all, check you have a valid license string in installation_dir/easysoft/license/licenses. (By default, installation_dir is /usr/local.)

If you have a valid license, do the following:

cd /usr/local/easysoft/license
od -c licenses

This shows a dump of the licenses file. All lines should be terminated by a \n character. If you notice any \r, characters, carriage returns are present. To remove these:

cd /usr/local/easysoft/license
tr -d '\r' < licenses > licenses.new
mv licenses.new licenses