From: mpapis@... Date: 2014-12-30T09:13:52+00:00 Subject: [ruby-core:67225] [ruby-trunk - Bug #10558] failing require digest.so on OSX statically compiled ruby Issue #10558 has been updated by Michal Papis. looks like release fixed it: https://github.com/wayneeseguin/rvm/issues/3165#issuecomment-68320898 -- maybe something on the way was fixed ---------------------------------------- Bug #10558: failing require digest.so on OSX statically compiled ruby https://bugs.ruby-lang.org/issues/10558#change-50700 * Author: Michal Papis * Status: Feedback * Priority: Normal * Assignee: * Category: * Target version: current: 2.2.0 * ruby -v: 2.2.0-preview2 * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- compiling 2.2.0-preview2 and 2.2.0-preview1 with following flags: `env LDFLAGS=-L/Users/mpapis/.sm/pkg/active/lib -fPIC -Bstatic CFLAGS=-O3 -I/Users/mpapis/.sm/pkg/active/include -fPIC -mmacosx-version-min=10.7 ./configure --prefix=/Users/mpapis/.rvm/rubies/ruby-2.2.0-preview2 --disable-install-doc --enable-load-relative --with-static-linked-ext --with-out-ext=dl/win32,fiddle/win32,tk/tkutil,tk,win32ole,-test-/win32/dln,-test-/win32/fd_setsize --sysconfdir=/etc --disable-install-doc --disable-shared --with-arch=x86_64` it compiles but files on installation with: `/Users/travis/.rvm/src/ruby-2.2.0-preview2/.ext/common/digest.rb:1:in `require': cannot load such file -- digest.so (LoadError)` (got the command and error from different machines) this bug was reported earlier as https://bugs.ruby-lang.org/issues/8721 but now it happens on multiple machines, can not ignore it this prevents from building a movable OSX ruby binary -- https://bugs.ruby-lang.org/