
Issue #19594 has been updated by nobu (Nobuyoshi Nakada). File config.log added Description updated Status changed from Open to Feedback
configure:10238: checking whether LDFLAGS is valid configure:10258: gcc -o conftest -O3 -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@1.1/include -fPIC -mmacosx-version-min=10.7 -arch x86_64 -L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@1.1/lib -fPIC -Bstatic -lz -arch x86_64 conftest.c >&5 ld: warning: dylib (/usr/local/opt/zlib/lib/libz.dylib) was built for newer macOS version (12.0) than being linked (10.7)
You'll need other shared libraries built for the targeting version. Libraries built for newer version may not work on older versions. ---------------------------------------- Bug #19594: Cannot statically compile 3.0.5 on MacOS 12.6 x86_64 https://bugs.ruby-lang.org/issues/19594#change-102750 * Author: brodock (Gabriel Mazetto) * Status: Feedback * Priority: Normal * ruby -v: 3.0.5 * Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN ---------------------------------------- I'm triggering the compilation using RVM. A regular, non static compilation works, but I want to generate a cacheable binary to use inside CI. Here is the config log: ---Files-------------------------------- config.log (40.3 KB) -- https://bugs.ruby-lang.org/