# GNU Libtool

> GNU's generic library support script for building shared and static libraries portably

Source: https://talira.ai/catalog/gnu-libtool-m3knkg7h
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / build / build systems](https://talira.ai/categories/developer-tools/build/build-systems)
- Licence: GPL-2.0-or-later[^3]
- Pricing: Free and open source[^3]
- Free tier: yes[^3]
- Backed by: [GNU Project](https://talira.ai/orgs/gnu.md)

GNU Libtool is a generic library support script that hides the complexity of building special library types, such as shared libraries, behind one consistent interface. A project adds Libtool's library-building commands to its `Makefile`, `Makefile.in` or `Makefile.am`, and Libtool builds static libraries on every platform and C, C++, Fortran and Java libraries. It's part of the GNU build system with [GNU Automake](https://talira.ai/catalog/gnu-automake-fh3t1crw.md) and Autoconf.

## Links

- Website: https://www.gnu.org/software/libtool/

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/libtool>[^1]
- [APT](https://talira.ai/catalog/apt-d7essv0z.md): <https://packages.debian.org/stable/libtool>[^2]

## Problems it solves

- build a shared library from my C project that works the same way on Linux, macOS and BSD
- stop hand-writing platform-specific linker flags for shared libraries in my autotools project
- link a library with its dependencies portably from a Makefile.am without knowing each platform's rules

## Features

- one interface for building shared and static libraries across platforms
- static libraries on every platform
- C, C++, Fortran and Java libraries
- used from Makefile, Makefile.in or Makefile.am

## Trust

Overall: 0.32 out of 1.
Signals: adoption 0.71, backing 0.30, extensibility 0.00.

- 8k Homebrew installs in 30 days
- backed by GNU Project

Warnings:

- activity not tracked: no repository is linked

## Related

- Works with [GNU Automake](https://talira.ai/catalog/gnu-automake-fh3t1crw.md)

## Alternatives

- [CMake](https://talira.ai/catalog/cmake-k3qq1fry.md): A powerful software build system
- [elixir_make](https://talira.ai/catalog/elixir-make-4h390w9h.md): A Make compiler for Mix
- [GNU Autoconf](https://talira.ai/catalog/gnu-autoconf-r9f45v4s.md): Builds the configure scripts that adapt source packages to each Unix system
- [Meson](https://talira.ai/catalog/meson-e9z6rstx.md): Fast, user-friendly open source build system with a readable, non-Turing-complete language
- [GNU Automake](https://talira.ai/catalog/gnu-automake-fh3t1crw.md): Generates GNU Standards-compliant Makefile.in files from Makefile.am

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 29 Nov 2026)
[^2]: https://deb.debian.org/debian/dists/stable/main/source/Sources.xz (checked 29 Nov 2026)
[^3]: https://metadata.ftp-master.debian.org/changelogs//main/libt/libtool/stable_copyright (checked 29 Nov 2026)
