GNU Autoconf, Automake, and Libtool
by Gary V. Vaughan, Ben Elliston, Tom Tromey, Ian Lance Taylor
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access