LIBTOOL(1)
π LIBTOOL(1) π
okay so bestie, you know how building libraries is literally the whole vibe of Unix but also kind of a nightmare? that's where libtool comes in. it's the main character of library-building support services, and honestly? it slays. β¨
πΈ SYNOPSIS πΈ
libtool [OPTION]... [MODE-ARG]...
like, you give it some options and some mode-args and it just handles things. no cap.
π DESCRIPTION π
So libtool provides generalized library-building support services. that's the whole aesthetic. it's giving "I can build libraries anywhere" energy and we're obsessed. π
β¨ OPTIONS β¨
okay bestie, here's the full menu of flags. every single one. I'm not skipping any because that would be lowkey disrespectful. π«Ά
--configβ shows you ALL the configuration variables, like it's spilling all the tea about itself--debugβ enables verbose shell tracing, so you can watch every little thing it does like it's a reality TV show-n,--dry-runβ displays the commands without actually modifying any files, it's a rehearsal bestie, a dress rehearsal π--featuresβ displays basic configuration information, the quick vibe check--finishβ uses operation--mode=finish, like it's wrapping things up--mode=MODEβ use operation mode MODE, you pick the vibe--no-finishβ don't update the shared library cache, it's giving lazy energy and tbh same--no-quiet,--no-silentβ prints default informational messages, like it's actually talking to you--no-warningsβ equivalent to-Wnone, see no evil, hear no evil--preserve-dup-depsβ don't remove duplicate dependency libraries, keeps the duplicates like they're limited edition--quiet,--silentβ don't print informational messages, the introvert mode--reorder-cache=DIRSβ reorder the shared library cache for preferred DIRS, like organizing your playlist--tag=TAGβ use configuration variables from tag TAG, customizing the experience-v,--verboseβ print more informational messages than default, it's giving "tell me everything" energy--versionβ print version information, the classic "who even am I" moment-W,--warnings=CATEGORYβ report the warnings falling in CATEGORY [all], pick your warning flavor-h,--help,--help-allβ print short, long, or detailed help message, the ultimate "bestie explain" button
π₯ Warning categories include: π₯
'all'β show all warnings, literally all of them, no filter'none'β turn off all the warnings, ignorance is bliss bestie'error'β warnings are treated as fatal errors, so like, drama mode activated π
π¦ If a TAG is supplied, it must use one of the tag names below: π¦
- Tag Name β Language Name
CCβ CCXXβ C++OBJCβ Objective-COBJCXXβ Objective-C++GCJβ JavaF77β Fortran 77FCβ FortranGOβ GoRCβ Windows Resource
if you do not see a tag name associated with your programming language, then you are using a compiler that libtool does not support. it's not you bestie, it's them. π
β MODE must be one of the following: β
cleanβ remove files from the build directory, self-care era π§Ήcompileβ compile a source file into a libtool objectexecuteβ automatically set library path, then run a programfinishβ complete the installation of libtool libraries, the grand finaleinstallβ install libraries or executableslinkβ create a library or an executableuninstallβ remove libraries from an installed directory, the breakup era
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. so like, shortcuts bestie. π
GNU libtool home page: https://www.gnu.org/software/libtool/. that's the link, go get your life.
When reporting a bug, please describe a test case to reproduce it and include the following information. like, give them the whole story, don't leave out the details:
- host-triplet:
x86_64-pc-linux-gnu - shell:
/bin/bash - compiler:
gcc -std=gnu23 - compiler flags:
-g -O2 - linker:
/usr/bin/ld -m elf_x86_64(gnu? yes) - version: libtool (GNU libtool) 2.6.2
- automake: automake (GNU automake) 1.18.1
- autoconf: autoconf (GNU Autoconf) 2.73
π REPORTING BUGS π
Report bugs to bug-libtool@gnu.org. they wanna hear from you bestie, don't be shy. π«Ά
π COPYRIGHT π
Copyright Β© 2026 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. no guarantees, no promises, it's giving "use at your own risk" energy but make it legal. π
Originally written by Gordon Matzigkeit, 1996 (See AUTHORS for complete contributor listing). iconic behavior honestly, we stan a pioneer. π
π 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. it's the whole encyclopedia of libtool knowledge, go off. πβ¨
GNU libtool 2.6.2 Β· July 2026 Β· that's the version and the date bestie, now go build something iconic ππβ¨
π¦ where this page comes from
- nixpkgs unstable: glibtool 2.6.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms