Using Libtool

An entire book could be written about the details of shared libraries and how they're implemented on various systems. The short primer you just read should suffice for our immediate needs, so I'll now move on to how you can use Libtool to make a package maintainer's life a little easier.

The Libtool project was started in 1996 by Gordon Matzigkeit. It was designed to extend Automake, but you can use it independently within hand-coded makefiles, as well. The Libtool project is currently maintained by Bob Friesenhahn, Peter O'Gorman, Gary Vaughan, and Ralf Wildenhues. As of this writing, the latest version of Libtool is version 2.2.6.

Abstracting the Build Process

First, let's look at how Libtool helps during the build process. Libtool ...

Get Autotools 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.