From: "nobu (Nobuyoshi Nakada)" <nobu@...> Date: 2013-10-01T21:56:00+09:00 Subject: [ruby-core:57549] [ruby-trunk - Bug #8971][Feedback] 'make check' broken Issue #8971 has been updated by nobu (Nobuyoshi Nakada). Status changed from Open to Feedback How did you run `configure`? ---------------------------------------- Bug #8971: 'make check' broken https://bugs.ruby-lang.org/issues/8971#change-42165 Author: vo.x (Vit Ondruch) Status: Feedback Priority: Immediate Assignee: nobu (Nobuyoshi Nakada) Category: build Target version: current: 2.1.0 ruby -v: ruby 2.1.0dev (2013-09-22 trunk 43011) [x86_64-linux] Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN =begin $ make check 'TESTS=-v ' CC = gcc LD = ld LDSHARED = gcc -shared CFLAGS = -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -mtune=generic -fPIC -m64 XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT CPPFLAGS = -I. -I.ext/include/x86_64-linux -I./include -I. DLDFLAGS = -Wl,-soname,libruby.so.2.1 -fstack-protector -m64 SOLIBS = -lpthread -ldl -lcrypt -lm Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.1/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-isl=/builddir/build/BUILD/gcc-4.8.1-20130920/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.1-20130920/obj-x86_64-redhat-linux/cloog-install --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 4.8.1 20130920 (Red Hat 4.8.1-10) (GCC) generating encdb.h encdb.h unchanged ... snip ... make[2]: Entering directory `/builddir/build/BUILD/ruby-2.1.0-preview1' make[2]: `ruby' is up to date. make[2]: Leaving directory `/builddir/build/BUILD/ruby-2.1.0-preview1' make[1]: Leaving directory `/builddir/build/BUILD/ruby-2.1.0-preview1' ./ruby: error while loading shared libraries: libruby.so.2.1: cannot open shared object file: No such file or directory test failed make: *** [yes-test-sample] Error 1 This was probably introduced by rev42989. Not sure why RUNRUBY was replaced by MINIRUBY there. Moreover, I guess that it happens only when shared library is enabled, otherwise somebody would notice it already. =end -- http://bugs.ruby-lang.org/