ASA Programming Guide
Deploying Databases and Applications
Understanding installation directories and file names
UNIX deployments are different from PC deployments in some ways:
Directory structure For UNIX installations, the directory structure is as follows:
Directory | Contents |
---|---|
/opt/sybase/SYBSsa9/bin | Executable files |
/opt/sybase/SYBSsa9/lib | Shared objects and libraries |
/opt/sybase/SYBSsa9/res | String files |
On AIX, the default root directory is /usr/lpp/sybase/SYBSsa9 instead of /opt/sybase/SYBSsa9.
File extensions In the tables in this chapter, the shared objects are listed with an extension .so. For HP-UX, the extension is .sl.
On the AIX operating system, shared objects that applications need to link to are given the extension .a.
Symbolic links Each shared object is installed as a symbolic link to a file of the same name with the additional extension .1 (one). For example, the libdblib9.so is a symbolic link to the file libdblib9.so.1 in the same directory.
If patches are required to the Adaptive Server Anywhere installation, these will be supplied with extension .2, and the symbolic link must be redirected.
Threaded and unthreaded applications Most shared objects are provided in two forms, one of which has the additional characters _r before the file extension. For example, in addition to libdblib9.so, there is a file named libdblib9_r.so. In this case, threaded applications must be linked to the _r shared object, while non-threaded applications must be linked to the shared object without the _r characters.
Character set conversion If you want to use database server character set conversion (the -ct
server option), you need to include the following files:
libunic.so
charsets/ directory subtree
asa.cvf
For a description of the places where the software looks for files, see How Adaptive Server Anywhere locates files.