The error text is :
sasql_connect(): The SQLAnywhere client libraries could not be loaded. Please ensure that libdbcapi_r.so can be found in your LD_LIBRARY_PATH environment variable.
I get this error when I run the code as a Laravel Job. However, SQL Anywhere connection is successful if I write a controller function.
I think, if there was a problem about my SQL Anywhere installation, I would face the same error in the controller function.
I am trying to find a solution for 3 days without hope.
All replies will be helpful.
Thanks.