Bill Allombert on Mon, 17 Aug 2026 10:23:25 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: MacOS 26 build problem


On Sun, Aug 16, 2026 at 02:10:27PM -0700, Justin C. Walker wrote:
> Hi,
> 
> Just getting started with macOS 26.  I downloaded Pari 2.17.4, and ran this command to build:
> 
> ./Configure --with-readline=/usr/local --with-gmp=/usr/local --tune --mt=pthread
> make all
> 
> After a bit, the build blew up with this complaint:
> 
> ld: unknown option: -Wl,-headerpad_max_install_names
> 
> Full build output attached in case it helps.

Executable linker is   arm64-apple-darwin20.0.0-ld   -search_paths_first -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs
-Wl,-rpath,/Users/justin/miniforge3/envs/Sage10.9/lib -L/Users/justin/miniforge3/envs/Sage10.9/lib

Did you set LDFLAGS in the environment ?
This is not the default.

Cheers,
Bill.