SQL Anywhere: Load the Environment on Linux and Unix

If a SQL Anywhere utility is not found or reports a missing shared library, check the shell environment before reinstalling the database client. The installation includes scripts to set the required paths.

Source the environment script

For a 64-bit SQL Anywhere 17 installation under /opt/sqlanywhere17, use the following example in a Bourne-compatible shell. Adjust the installation directory and use bin32 only when appropriate.

. /opt/sqlanywhere17/bin64/sa_config.sh
command -v dbisql
printf "%s\n" "$SQLANY17"

The leading dot executes the script in the current shell; launching it as a separate process would not update the parent shell. Use the same environment in the account and script that actually launches the database utility. Avoid mixing libraries from different client versions. If the problem remains, check executable architecture, permissions and library dependencies.

Reference

SAP Note: 3786980

SAP Help: Documentation

You May Also Like

Leave a Reply?