Closed wechmarer closed 3 hours ago
Output of brew config
?
/Users/thomas> brew config HOMEBREW_VERSION: 4.4.4 ORIGIN: https://github.com/Homebrew/brew HEAD: 824efa8836dc226aa92dbbf7404c1b4a66707cca Last commit: 4 days ago Core tap JSON: 08 Nov 09:27 UTC Core cask tap JSON: 08 Nov 09:43 UTC HOMEBREW_PREFIX: /opt/homebrew HOMEBREW_CASK_OPTS: [] HOMEBREW_MAKE_JOBS: 8 Homebrew Ruby: 3.3.5 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/bin/ruby CPU: octa-core 64-bit arm_blizzard_avalanche Clang: 16.0.0 build 1600 Git: 2.39.5 => /Library/Developer/CommandLineTools/usr/bin/git Curl: 8.7.1 => /usr/bin/curl macOS: 15.1-arm64 CLT: 16.1.0.0.1.1729049160 Xcode: 16.0 Rosetta 2: false
Right, thanks.
e2fsprogs
is keg-only, so it's not linked into HOMEBREW_PREFIX
by default. You should have seen this message when you did brew install e2fsprogs
:
❯ brew install e2fsprogs
[snip]
==> Caveats
e2fsprogs is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS provides similar software and installing this software in
parallel can cause all kinds of trouble.
If you need to have e2fsprogs first in your PATH, run:
echo 'export PATH="/opt/homebrew/opt/e2fsprogs/bin:$PATH"' >> ~/.zshrc
echo 'export PATH="/opt/homebrew/opt/e2fsprogs/sbin:$PATH"' >> ~/.zshrc
For compilers to find e2fsprogs you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/e2fsprogs/lib"
export CPPFLAGS="-I/opt/homebrew/opt/e2fsprogs/include"
For pkg-config to find e2fsprogs you may need to set:
export PKG_CONFIG_PATH="/opt/homebrew/opt/e2fsprogs/lib/pkgconfig"
==> Summary
☕ /opt/homebrew/Cellar/e2fsprogs/1.47.1: 148 files, 8.3MB
==> Running `brew cleanup e2fsprogs`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew doctor
output saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
I want to use the binaries from e2fsprogs. The installation does not report any errors. But the binaries are not sum-linked into /opt/homebrew/sbin or /opt/homebrew/bin The folder e2fsprogs is symlinked. Is this expected or is this an issue.
My steps: /Users/thomas> mkfs.ext2 zsh: command not found: mkfs.ext2
/Users/thomas> ls -la /opt/homebrew/opt/e2fsprogs
lrwxr-xr-x 1 thomas admin 26 12 Aug 15:50 /opt/homebrew/opt/e2fsprogs -> ../Cellar/e2fsprogs/1.47.1
/Users/thomas> ls -la /opt/homebrew/opt/e2fsprogs/sbin/mkfs.ext2 -rwxr-xr-x 1 thomas admin 174368 12 Aug 15:50 /opt/homebrew/opt/e2fsprogs/sbin/mkfs.ext2
What happened (include all command output)?
/Users/thomas> mkfs.ext2 -h zsh: command not found: mkfs.ext2
What did you expect to happen?
mkfs.ext2 has a symbolic link in /opt/homebrew/sbin/
Step-by-step reproduction instructions (by running
brew
commands)