All Manuals > LispWorks Delivery User Guide > 4 Delivering your Application > 4.4 Delivering a dynamic library

NextPrevUpTopContentsIndex

4.4.2 Using the dynamic library

A Microsoft Windows application should use LoadLibrary to load the DLL and GetProcAddress to find the address of the exported names. On other platforms the application should use dlopen and dlsym .

On some platforms there are special requirements for a program that loads a LispWorks dynamic library, as follows:

Linux

The program should be linked with libpthread.so .

FreeBSD

The program should be linked with libpthread.so .

x86/x64 Solaris

The program should be compiled and linked multi-threaded, for example using the -mt option to Oracle's cc .

Mac OS X

No special requirements.

For more information about the behavior of LispWorks dynamic libraries see the chapter "LispWorks as a dynamic library" in the LispWorks User Guide and Reference Manual .


LispWorks Delivery User Guide - 13 Dec 2011

NextPrevUpTopContentsIndex