To run the administration tools, a number of environment variables must be defined or modified. This is usually done in the sa_config.sh file, which is created by the SQL Anywhere installer, but you have the flexibility to do this however is most appropriate for your application.
Set the PATH to include the following:
/opt/sqlanywhere10/bin32
or
/opt/sqlanywhere10/bin32s
(whichever is appropriate).
If you are deploying Sybase Central, you must also add
/opt/sqlanywhere10/sybcentral500
Set LD_LIBRARY_PATH to include the following:
/opt/sqlanywhere10/jre150/lib/i386/client /opt/sqlanywhere10/jre150/lib/i386 /opt/sqlanywhere10/jre150/lib/i386/native_threads
Set the following environment variables:
SQLANY10="/opt/sqlanywhere10" SQLANYSH10="/opt/sqlanywhere10"