17.2. Using libltdl

Various aspects of libltdl are addressed in the following subsections, starting with a step-by-step guide to adding libltdl to your own GNU Autotools projects (see Section 17.2.1, "Configury" ) and an explanation of how to initialize libltdl's memory management (see Section 17.2.2, "Memory Management" ). After this comes a simple libltdl module loader that you can use as the basis for a module loader in your own projects (see Section 17.2.3, "Module Loader" ), including an explanation of how libltdl finds and links any native dynamic module library necessary for the host platform. Section 17.2.4, "Dependent Libraries," deals with the similar problem of dynamic modules that depend on other libraries—take care not to confuse ...

Get GNU Autoconf, Automake, and Libtool now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.