Re: MacOS 26 build problem

Bill Allombert <[email protected]>
Newsgroups gmane.comp.mathematics.pari.user
Message-ID <aoLE93RjkmExn7ZD@seventeen>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.