MKLIBS(1)
π MKLIBS(1) β the Debian User's Manual glow-up π
okay bestie, sit down, hydrate, because we're talking about mklibs, which is a page from the Debian User's Manual and honestly? it's giving minimalism in the best way possible. β¨
πΈ NAME πΈ
mklibs β make a minimal set of libraries π
like... that's it. that's the whole name section. she's concise. she knows her worth. π
π¦ SYNOPSIS π¦
mklibs [OPTION]... -d DESTINATION FILE...
that's the whole vibe check right there. options, a destination, and then a whole pile of files. periodt. π
π DESCRIPTION π
okay so here's the tea β: mklibs takes the minimal set of libraries that your FILE(s) actually need β not the whole entire library ecosystem, just the bare necessities, the main character essentials β and it places them in DESTINATION. π
that's it. no drama, no bloat, just exactly what's required. she's an icon, she's a legend, and she is the moment. π«Ά
β¨ OPTIONS β¨
every single flag, no skips, no cap:
-d DESTINATION,--dest-dir DESTINATIONβ drop the libraries intoDESTINATION. this is where the magic lands. π-D,--no-default-libβ skip the default library path entirely. omit it. ghost it. bye bestie π-L LIBDIR[:LIBDIR]...β prepend yourLIBDIR(s) to the library search path. yes, you can stack them with colons, she supports the polycule π--ldlib LDLIBβ useLDLIBas the dynamic linker. swapping out the linker like it's a new outfit π--libc-extras-dir EXTRADIRβ useEXTRADIRto find the extra libc files. the bonus content, the deleted scenes, the extras π--target TARGETβ prependTARGET-to thegccandbinutilscalls. cross-compiling girlies, this one's for you π--root ROOTβ search inROOT-for library rpaths. note the hyphen, it's part of the deal π§--sysroot SYSROOTβ locate libraries and their associated files relative toSYSROOT. the whole world lives inside this one directory π--gcc-options OPTIONSβ passOPTIONSstraight to the compiler when relinking. hand her a lil note, she'll deliver it π--libdir DIRβ useDIRin place oflibin the default library paths. for example,lib64. glow-up for your directory names β¨-v,--verboseβ explain what is being done. she'll narrate her whole process, and honestly? we love a girl who overshares π£οΈ-h,--helpβ display help and exit. when in doubt, ask for help, then leave. self-care π
π BUGS π
bestie, listen carefully.mklibsdoes not support the--dry-runand--versionoptions thatmklibs.shsupports. π
so if you're out here trying --dry-run like it's a dress rehearsal β nope. no rehearsal. we go live. and --version? not here either. she doesn't do numbers, she does libraries. π
π AUTHOR π
this manual page was written by Matt Kraai. thank you for your service, king π«‘π
and that's the whole page, fr fr. this one shipped with Debian, dated 2002-07-07, and lives under MKLIBS(1) in the manual. vintage but still slaying, lowkey highkey iconic. π
go make something minimal, bestie. your DESTINATION is waiting. π
ππ¦
π¦ where this page comes from
- debian bookworm: mklibs 0.1.45
- debian trixie: mklibs 0.1.45
- ubuntu jammy: mklibs 0.1.45
- ubuntu noble: mklibs 0.1.45
- ubuntu resolute: mklibs 0.1.45build1
- ubuntu stonking: mklibs 0.1.46
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms