6,999 questions
2
votes
0
answers
56
views
gcc installed from homebrew seems to be broken in the std library
From my Fedora 42 distro, I am trying to use homebrew to install a specific version of gcc to use in my C++ project. However, I am finding that the homebrew installs of gcc fail when making certain ...
0
votes
1
answer
77
views
Python venv command failing on MacOS with Homebrew
I've been happily using python with venv for at least the last year. It now no longer works:
python -m venv .
returns the error:
Error: Command '['/Users/sejaques/bin/python3.13', '-m', 'ensurepip', '...
Advice
0
votes
3
replies
47
views
Where does Homebrew store Hashicorp vault config file vault.hcl
Where does Homebrew store Hashicorp vault config file vault.hcl?
It is not in /etc/vault.d (there is none such dir)
0
votes
1
answer
81
views
Build Homebrew bottle in GitHub Actions
I want to use GitHub Actions to build the bottle for a formula that lives in the same repository. The main part here is:
- name: build package
run: |
brew install --build-bottle ./Formula/...
5
votes
3
answers
461
views
No rule to make target '/opt/homebrew/Cellar/openssl@3/3.4.1/include/openssl/opensslv.h' installing php 8.4.11
Sat 29 Nov 2025
Per @kakaiikaka's request:
$ /opt/homebrew/Cellar/openssl@3/3.6.0/bin/openssl version
OpenSSL 3.6.0 1 Oct 2025 (Library: OpenSSL 3.6.0 1 Oct 2025)
$ which openssl
/opt/homebrew/bin//...
0
votes
0
answers
59
views
Build and Install Open3D from source with brew
Context: I work in a project that produces a python library. This library has several dependencies and we build most of the dependencies from source.
Everything is done in docker images with Ubuntu 22....
0
votes
1
answer
102
views
ModuleNotFoundError using macOS Brew installed module
I'm far from a Python expert and this is my first Scrapy project. I installed Scrapy using Brew. I've been able to do some basics with Scrapy and making progress. I need to add Beautiful Soup to clean ...
1
vote
0
answers
94
views
Homebrew just updated versions of R and I lost a file
I was working on a script on version 4.4.2_2 of R, installed through homebrew, and was struggling to install the xgboost package.
I went to Terminal and tried to install gcc, a dependency that I ...
0
votes
1
answer
57
views
Why I am unable to issue a token in qoomon/actions--access-token?
I am making some github actions that release my mac app:
name: release
on:
push:
branches:
- dev
- master
jobs:
tag_git:
runs-on: ubuntu-latest
permissions:
...
0
votes
0
answers
134
views
Installing virtualenv globally with Homebrew
I am trying to build someone else's project that relies on the virtualenv package. On Mac OS with Homebrew, the python environment is externally managed, so I can't "globally" install ...
0
votes
1
answer
140
views
Downloaded postgres fresh with Homebrew on Mac but cannot connect
I install postgres with homebrew and verify the postgres server is running:
brew install postgresql@14
brew services restart postgresql@14
psql --version
-> psql (PostgreSQL) 14.18 (Homebrew)
I ...
0
votes
0
answers
80
views
How to install emacs with homebrew when ctags is installed too?
the info page does not mention a conflict with ctags, but when i run
brew install --cask emacs
the output is something like
==> Installing Cask emacs
==> Moving App 'Emacs.app' to '/...
2
votes
2
answers
438
views
Cannot Install Elasticsearch via brew install elasticsearch or as a Homebrew Service (macOS)
I'm trying to install Elasticsearch on macOS (Apple Silicon) using Homebrew, but I've run into several issues and none of the common methods seem to work properly.
What I’ve tried:
1. Direct ...
2
votes
1
answer
220
views
ld reports ”library 'fftw3' not found”
trying to get fftw to work.
I'm on an M2 macbook, used brew to install fftw. Within my IDE, #include <fftw3.h> doesn't throw an error, and autocomplete correctly lists fftw constants and ...
0
votes
1
answer
732
views
How to fix the header file issue with Homebrew gcc after MacOS 15.4 Sequoia Update?
After the MacOS 15.4 update, my C++ code, which used to compile perfectly fine on my Homebrew gcc install, stopped working. After a bit of internet search, it seemed like Apple did something weird ...
3
votes
2
answers
91
views
3DS Snake Game Jittery and Laggy
I'm working on a basic Snake game for the Nintendo 3DS using the 3ds.h library, but I've noticed that the game is quite jittery during gameplay. The game runs fine aside from some noticeable input ...
0
votes
0
answers
62
views
g++ does not find wchar.h on macOS, even after reinstalling
I cannot run Homebrew-installed g++ 14.2.0 in Visual Studio Code for macOS 15.3.2 on an Apple M2 system.
I was able to load the standard library using --sysroot=/Library/Developer/CommandLineTools/...
1
vote
0
answers
59
views
How to make a Swift package for a C library imported from Homebrew
The frustrating thing is there are so many related questions that almost help me, but not the exact combination I'm doing.
This is my first time trying to make a Swift package wrapping a C library ...
2
votes
1
answer
162
views
OpenSCAD for Mac (M1 + Rosetta 2), brew, This application failed to start because it could not find or load the Qt platform plugin "cocoa" in ""
So, I downloaded openscad via brew install openscad, but when I run openscad CLI I get
This application failed to start because it could not find or load the Qt platform plugin "cocoa"
in &...
1
vote
1
answer
506
views
No module named 'distutils.msvccompiler' after using f2py
I am trying to run a Fortran module that contains a function that I want to use on Python and apparently what I need to do is run the following line on the terminal
python -m numpy.f2py -c -m ...
0
votes
1
answer
79
views
PHP script in form crashes on Safari on iOS
I have a strange problem. I have a very simple HTML form which calls a PHP script. This works flawlessly on Desktop browsers (as it should), but on Safari on iOS, it regularly crashes if I use "...
0
votes
0
answers
53
views
What is the right way to get nghttp2 asio_http2_server.h on MAC
My program depends on asio_http2_server.h and i'm not able to get this file on my install and getting this error during run
fatal error: 'nghttp2/asio_http2_server.h' file not found
2 | #include &...
0
votes
1
answer
41
views
JQ not recognized by AppleScript
I have a daily journal I create in Devonthink3, and as part of the note creation, I add that day's weather and the forecast. I ran this fine for about 90 days, but had to wipe the computer and reload ...
0
votes
1
answer
97
views
How to use C++ libraries installed with Homebrew within Cmake? (specifically FFTW3)
I'm developing a Max/MSP external on MacOS... in fact, I'm porting a Max/MSP external that I developed on Windows (Visual Studio 2022 toolchain) onto MacOS using Cmake and Clang. The Max external ...
-1
votes
1
answer
107
views
connection failed: :1), port 5432 failed: could not receive data from server: Connection refused
I got this error when im trying to get access to my postgreql db by pgAdmin.
[tag:connection failed: :1), port 5432 failed: could not receive data from server: Connection refused]
Run this brew ...
2
votes
1
answer
2k
views
dyld[68210]: Library not loaded: /opt/homebrew/opt/icu4c/lib/libicui18n.74.dylib when I try to use npm
I have installed 3 different versions of node, and when I try to initialise a new project using npm create ..., I encountered this error:
dyld\[68210\]: Library not loaded: /opt/homebrew/opt/icu4c/lib/...
0
votes
0
answers
79
views
Trouble installing pyenv with brew on mac due to openssl version
Has anyone ever been able to install the most recent version of pyenv on their computer? I just updated my python to 3.13.2. I tried through brew and run into this issue:
==> Installing ...
1
vote
2
answers
226
views
separating Brewfiles and loading them in chunks
I want to split up my Brewfile into multiple Brewfiles to separate some programs and apps into different sections and I can do some easy customisation of new MacOS machines and install specific ...
4
votes
5
answers
1k
views
Upgrade glib to 2.82.5 through homebrew failed, python dependency not found
I want to upgrade glib to 2.82.5 through homebrew on mac running sequoia, but it failed with this python dependency not found error
==> Upgrading glib
2.82.4 -> 2.82.5
==> Patching
==> ...
1
vote
0
answers
34
views
Unable to compile gcc installed from Homebrew [duplicate]
I have mac silicon M1:
% uname -m
arm64
and macOS = Sequoia:
% sw_vers
ProductName: macOS
ProductVersion: 15.3.1
BuildVersion: 24D70
I have command line tools installed:
% pkgutil --...
1
vote
1
answer
361
views
CMake cannot found libraries installed by brew
Idk why my previous topic was determined like 'question not related for programming and tools` but I'll ask again and more accurate.
I moved from Windows to Mac and started working on my C++ project.
...
2
votes
1
answer
673
views
brew install [email protected] gives CONNECT_CR_SRVR_HELLO:sslv3 alert handshake failure
I am trying to install PHP8.3 using brew install [email protected] . But I'm getting the following
==> Downloading https://libzip.org/download/libzip-1.11.3.tar.xz
curl: (35) error:14004410:SSL routines:...
0
votes
0
answers
66
views
Tried to update remotior-sensus and it broke Python & _ARRAY_API
In terms of specs, I'm running MacOS Ventura 13.7.1 and Python 3.13. I use QGIS for work, and I attempted to update remotior-sensus so I could use a specific plugin.
(base) [my system]:~ Morgan$ /...
2
votes
0
answers
198
views
Compile error with homebrew gcc : unknown type name 'FILE' when including <stdio.h> on macOS after update to sdk 15.2
After my recent macOS update (ARM to SDK 15.2) my C code—which previously compiled using Homebrew’s GCC—is now failing to compile. Simply including <stdio.h> produces the following error:
/opt/...
0
votes
0
answers
142
views
Can't compile c++ program with iostream header in mac os
Trying to compile any c++ program with the iostream header results in the error
In file included from hello.cpp:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/...
0
votes
1
answer
37
views
C# can't create Application Support directory on mac in homebrew formula
I have a C# app that writes to a user's Environment.SpecialFolder.ApplicationData, which maps to ~/Library/Application Support/StateSmith.Cli on a mac. This works fine for me on my Mac OS 15 macbook:
...
0
votes
1
answer
141
views
Defining and using variables in a Homebrew formula
I'm trying to write my first Homebrew formula. I would like the formula to download a specific binary from a specific url, based on OS, cpu architecture, and binary version, and then install it to the ...
1
vote
1
answer
304
views
jEnv with zulu. cant seem to add the the JDK
Pretty new to Mac. Just bought a new MacBook Pro with M4
Im in zsh (z shell)
I installed homebrew
I installed jEnv
I installed Zulu 8 ARM JDK
When executing "jenv add" command, I keep ...
0
votes
1
answer
72
views
How to change DefaultSdkLoader value on AndroidSDK?
I'm stuck with making AndroidSDK load the right path. It should load the path /Users/ansible-pipeline/Library/Android/sdk instead of /opt/homebrew/Caskroom/android-sdk/4333796. I've search the web, ...
0
votes
1
answer
43
views
MongoDB won't run on new MBP after restart
I have a new MBP, and originally set my dev env up with MongoDB installed with homebrew and running fine. It was set to start up on login with brew services start [email protected]. Today I ...
0
votes
0
answers
126
views
Electron MacOS Catalina error: dyld: Library not loaded image not found
I am trying to run an electron application on macOS Catalina 10.15.7. I have installed nvm and node 20.9.0, and have installed electron, but when I try to start my electron app with the command ...
-1
votes
2
answers
548
views
How do I get homebrew installed packages to be accepted by VSCode?
I have a M1 Macbook Air, and am trying to use yt-dlp in a program.
I did brew install yt-dlp and it installed successfully, but when I used import yt_dlp in the python program, it returned an error ...
0
votes
1
answer
77
views
Errno::EPERM: Operation not permitted @ dir_s_rmdir in brew install
currently install meilisearch in brew in macos
==> Installing meilisearch dependency: llvm
==> Downloading https://formulae.brew.sh/api/formula.jws.json
==> Patching
==> Applying ...
-1
votes
1
answer
86
views
How do I correctly link lnopt when using it in C++?
I get this error when compiling my C++ code using both clang and g++
ld: warning: ignoring file '/usr/local/Cellar/nlopt/2.9.1/lib/libnlopt.0.13.0.dylib': found architecture 'x86_64', required ...
0
votes
0
answers
91
views
dbus not running on iMac M1
I was trying to get SyncTex to work with VimTex. While setting dbus up, which is required for Zathura, it would not run. The service starts, but when i run brew services info dbus, it says that dbus ...
0
votes
0
answers
14
views
React Native Google Sign button dependencies for Expo
I'm adding a Google Sign In Button in an Expo project.
After following the Setup Guide I ran npx expo prebuild --clean and it began to install cocoapods with the following dependencies from homebrew (...
1
vote
1
answer
160
views
Why are some maven deps looking for the wrong Java version?
I'm building a project with Maven 3.9.9 on mac sequoia and getting this error:
...(internal dep chain)...
-> org.glassfish.hk2:hk2-locator:jar:2.4.0-b31 (compile)
=> org.javassist:javassist:jar:...
0
votes
0
answers
246
views
Homebrew doesn't recognize Node 23.6.0 installed using NVM
Some background info—I am not a programmer but some software I like to use requires me to compile from source. I am trying to install Qt6 using brew so that I can compile Focuswriter for macOS ...
4
votes
1
answer
303
views
How do I get rid of the old postgresql@14 warning when I've already upgraded to postgresql@17?
I am running a Ruby on Rails application. I upgraded my Postgresql@14 to postgresql@17 using Homebrew. Postgresql@14 was removed from the Homebrew list, so that I only have Postgresql@17 on the ...
-1
votes
1
answer
594
views
Ruby 3.4.1 Configuration Failed on MacBook M1 Max with Sequoia 15.2 – Issue with Target Architecture (x86_64 vs arm64)
I have a MacBook with an M1 Max chip running macOS Sequoia 15.2, and I'm encountering an issue during the installation of Ruby 3.4.1. The error message states: Configuration of Ruby 3.4.1 failed!
When ...