From: "dklein (Dmitri Klein)" Date: 2022-01-21T01:27:38+00:00 Subject: [ruby-core:107218] [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). Thanks, Yusuke. Can you also help us to direct gmake openssl extension to the right version of OpenSSL? We see error "checking for OpenSSL version >= 1.0.1 and < 3.0.0... --no", but if fact our OpenSSL version is # /opt/csw/bin/amd64/openssl version OpenSSL 1.0.2u 20 Dec 2019 Should we use option ./configure --with-openssl-dir=/opt/csw/bin/amd64 ? Many thanks! ---------------------------------------- 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-96080 * Author: dklein (Dmitri Klein) * Status: Closed * 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: