To run Embedded SQL/C applications, including the sample programs, you must:
Set the following environment variables, which are described in Appendix B, “Environment Variables”:
SYBASE
SYBPLATFORM
Platform-specific library path variable
Be able to access an Adaptive Server on which the pubs2 sample database is installed. Refer to the Sybase Adaptive Server Enterprise Installation Guide for information on installing the pubs2 database.
Set execute permission on the sybopts.sh file for the file’s owner:
chmod u+x sybopts.sh
If you have not already done so, include the current directory in the search path:
setenv PATH .:$PATH