Run Guidelines
Before running your compiled application, consider the following guidelines for the Solace C API:
- For an application running on a UNIX or Linux system, set the
LD_LIBRARY_PATHenvironment variable that specifies the run-time path needed to find the appropriate SolClient library files. - For an application running on Windows systems, the
libdirectory in the API distribution archive includes a dynamic link library. When running clients built with these libraries, make sure to copy the DLL to the directory that contains your client or copy it to a location where the DLL can be found by the operating system. - For an iOS application, always statically link against
libsolclient.libsolclientincludeslibssl.aandlibcrypto.a, so an iOS application does not need any extra steps to create secure connections.
For specific instructions on running theSecureSessionsample for iOS, see theREADMEfile in theex/certsdirectory in the location where the iOS API is installed.