Homebrew build with different arch?
Fresh3 days ago
Mar 15, 202611539 viewsConfidence Score0%
0%
Problem
I tried to install mysql-connector-c recipe via homebrew, and it builds just fine, but produces x86_64 library: I however need i386 library for my project. I tried to give it CFLAGS and LDFLAGS like this: but nothing changes - it still builds x86_64 only binary. Is there any way to make homebrew bu…
Error Output
$file ~/brew/lib/libmysql.dylib .../brew/lib/libmysql.dylib: Mach-O 64-bit dynamically linked shared library x86_64
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Homebrew build with different arch?
Low Risk
You may try the following: and then modify the initialization in the "install" block. Although I did not try this out, you are supposed to do something like this: You might check the example here: Problems with homebrew, can't install anything...
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix