From: "dklein (Dmitri Klein)" Date: 2022-01-20T16:15:22+00:00 Subject: [ruby-core:107205] [Ruby master Bug#18502] Make ruby-2.7.5 on Solaris 10 ld.so.1: gcc: fatal: libintl.so.8: open failed: No such file or directory Issue #18502 has been updated by dklein (Dmitri Klein). # pkginfo -i CSWlibintl8 application CSWlibintl8 libintl8 - GNU locale utilities, libintl.so.8 # ---------------------------------------- Bug #18502: Make ruby-2.7.5 on Solaris 10 ld.so.1: gcc: fatal: libintl.so.8: open failed: No such file or directory https://bugs.ruby-lang.org/issues/18502#change-96066 * Author: dklein (Dmitri Klein) * Status: Open * Priority: Normal * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- Attempt to make ruby-2.7.5 on Solaris 10 generates error (same error repeated on multiple extensions:) ... gmake[1]: Entering directory `/export0/home/telegraf/fluentd/ruby_versions/ruby275/ruby-2.7.5' *** Following extensions are not compiled: - openssl: Could not be configured. It will not be installed. /export0/home/telegraf/fluentd/ruby_versions/ruby275/ruby-2.7.5/lib/mkmf.rb:471: The compiler failed to generate an executable file. You have to install development tools first. Check ext/openssl/mkmf.log for more details. ... # more ext/openssl/mkmf.log === OpenSSL for Ruby configurator === "/usr/local/gcc4/bin/gcc -o conftest -I../../.ext/include/i386-solaris2.10 -I../.././include -I../.././ext/opens sl -std=gnu99 -D_XOPEN_SOURCE=600 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -std=c99 conftest.c -L. -L../.. -L. -fstack-protector -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby-static -lpthread -lrt -lrt -lrt -ls ocket -ldl -lcrypt -lm -lm -lc" ld.so.1: gcc: fatal: libintl.so.8: open failed: No such file or directory ===================================== ref: # /usr/local/gcc4/bin/gcc -v Using built-in specs. COLLECT_GCC=/usr/local/gcc4/bin/gcc COLLECT_LTO_WRAPPER=/usr/local/gcc4/libexec/gcc/i386-pc-solaris2.10/4.5.1/lto-wrapper Target: i386-pc-solaris2.10 Configured with: ../configure --with-gnu-as --with-as=/usr/local/bin/gas --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-nls --enable-threads=posix --prefix=/usr/local/gcc4 --enable-shared --enable-multilib --enable-languages=c,c++,objc --enable-bootstrap --with-mpfr=/usr/local --with-mpc=/usr/local --with-gmp=/usr/local Thread model: posix gcc version 4.5.1 (GCC) # ======= # ldd -d /opt/csw/lib/libintl.so.8 libiconv.so.2 => /opt/csw/lib/libiconv.so.2 libc.so.1 => /usr/lib/libc.so.1 libm.so.2 => /usr/lib/libm.so.2 # ldd -d /usr/local/gcc4/bin/gcc libintl.so.8 => /opt/csw/lib/libintl.so.8 libiconv.so.2 => /opt/csw/lib/libiconv.so.2 libc.so.1 => /usr/lib/libc.so.1 libm.so.2 => /usr/lib/libm.so.2 # =============== -- https://bugs.ruby-lang.org/ Unsubscribe: