Project

General

Profile

Actions

Bug #10558

closed

failing require digest.so on OSX statically compiled ruby

Added by mpapis (Michal Papis) almost 10 years ago. Updated over 8 years ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
-
ruby -v:
2.2.0-preview2
[ruby-core:66597]

Description

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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0