1.11 Runtime Version of the Library Files

The licenses governing this SDK grant permission to redistribute the LDAP Libraries for C with your application. You should review the enclosed licenses to ensure compliance.

These files are also shipped with eDirectory and the service packs. However, the NDK updates them more frequently, so you may have a newer version than the version shipping with eDirectory. In some instances, you may have older versions. If you select to redistribute the files, make sure your installation program does not overwrite newer versions.

The following sections provide few guidelines for the following platforms:

1.11.1 Windows (NT, 95, 98, 2000, XP) & Windows Vista 64-bit

On the Windows platforms, you can copy the LDAP Libraries for C files to the same directory in which you install your program or to a directory that is part of the system's path variable. Copy the non-debug version of the following library files to that directory:

You also need the message file. Copy the nls directory and all its subdirectories and files to the same directory you copied the library files, keeping the ldapsdkmsg.dll file in the same relative directory structure.

Also include the following license and copyright files:

If your application uses any of the LDAP tools, these executables also need to be copied to the same directory as the library files. The ice utility requires the following files:

1.11.2 NetWare

Two versions of the LDAP libraries are provided for NetWare: A Clib version and a LibC version. The installation process extracts the files and creates two directories; one containing the libC version, and another containing the Clib version. The following tables list these directories and their contents:

Clib

[install location]\NetWare\Clib

Table 1-12 Clib Version of the LDAP Libraries

Folder

Description

bin

Libraries. The Clib NLMs are:

  • ldapsdk.nlm

  • ldapssl.nlm

  • ldapx.nlm

imports

Import files for linking

inc

Include files

tools

Ldap tools ( add, delete, modify, search )

samples

Sample programs

LibC

[install location]\NetWare\LibC

Table 1-13 LibC Version of the LDAP Libraries

Folder

Description

bin

Libraries. The LibC NLMs are:

  • ldapsdk.nlm

  • ldapssl.nlm

  • ldapx.nlm

imports

Import files for linking

inc

Include files

tools

Ldap tools ( add, delete, modify, search )

samples

Sample programs

Copy the non-debug version of either the Clib or LibC version of the library files to the sys:\system directory with your application:

You also need to copy the nls directory and its subdirectories the sys:\system directory, keeping the ldapsdk.msg file in the same relative directory structure.

If your application uses any of the LDAP tools, these nlms also need to be copied to the sys:\system directory. The ice utility requires the following files:

1.11.3 UNIX 32-bit (Solaris, Linux, AIX, HP-UX) & UNIX 64-bit (Linux)

The library files and the application's binaries must be copied to a directory where the user has all access permissions. In the following descriptions, this directory is labelled the <install directory>. Copy the non-debug version of the following libraries files to the <install directory>/cldapsdk/lib directory:

For Solaris, Linux, AIX:

For HP-UX:

If your application uses any of the LDAP tools, these files also need to be copied to the <install directory>/cldapsdk/tools directory. The ice utility requires the following files:

For Solaris, Linux, AIX:

For HP-UX:

Copy your application binaries to the <install directory>/cldapsdk/bin directory.

Copy the locale directory and its subdirectories to the <install directory>/cldapsdk/lib directory, keeping the ldapsdk.mo file in the same relative directory structure.

Export the following: