Project

General

Profile

Actions

Bug #18502

closed

Make ruby-2.7.5 on Solaris 10 ld.so.1: gcc: fatal: libintl.so.8: open failed: No such file or directory

Added by dklein (Dmitri Klein) over 2 years ago. Updated over 2 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:107204]

Description

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

===============

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0