Scroll to navigation

LIBTOOL(1) User Commands LIBTOOL(1)

NAME

libtool - Provide generalized library-building support services

SYNOPSIS

libtool [OPTION]... [MODE-ARG]...

DESCRIPTION

Provide generalized library-building support services.

OPTIONS

show all configuration variables
enable verbose shell tracing
display commands without modifying any files
display basic configuration information
--finish
use operation '--mode=finish'
use operation mode MODE
don't update shared library cache
print default informational messages
equivalent to '-Wnone'
don't remove duplicate dependency libraries
don't print informational messages
reorder shared library cache for preferred DIRS
use configuration variables from tag TAG
print more informational messages than default
print version information
report the warnings falling in CATEGORY [all]
print short, long, or detailed help message

Warning categories include:

'all'
show all warnings
'none'
turn off all the warnings
'error'
warnings are treated as fatal errors

MODE must be one of the following:

remove files from the build directory
compile a source file into a libtool object
automatically set library path, then run a program
complete the installation of libtool libraries
install libraries or executables
create a library or an executable
remove libraries from an installed directory

MODE-ARGS vary depending on the MODE. When passed as first option, '--mode=MODE' may be abbreviated as 'MODE' or a unique abbreviation of that.

GNU libtool home page: <https://www.gnu.org/s/libtool/>.

When reporting a bug, please describe a test case to reproduce it and include the following information:

x86_64-pc-linux-gnu
/bin/bash
gcc
compiler flags: -Wall -g -O2 -Werror=implicit-function-declaration -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection linker: /usr/bin/ld -m elf_x86_64 (gnu? yes) version: libtool (GNU libtool) 2.4.7 Debian-2.5.4-3 automake: automake (GNU automake) 1.17 autoconf: autoconf (GNU Autoconf) 2.72

REPORTING BUGS

Report bugs to <bug-libtool@gnu.org>.

COPYRIGHT

Copyright © 2025 Free Software Foundation, Inc. License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

Originally written by Gordon Matzigkeit, 1996 (See AUTHORS for complete contributor listing)

SEE ALSO

The full documentation for libtool is maintained as a Texinfo manual. If the info and libtool programs are properly installed at your site, the command

info libtool

should give you access to the complete manual.

January 2025 GNU libtool 2.4.7 Debian-2.5.4-3