#624 new
M. Edward (Ed) Borasky

[BUG] "rake install" crashes when I use a PREFIX

Reported by M. Edward (Ed) Borasky | July 6th, 2008 @ 10:52 PM | in 1.0 preview

Environment: Gentoo GNU/Linux, AMD64,

$ gcc --version

gcc (Gentoo 4.3.1 p1.0) 4.3.1

Copyright (C) 2008 Free Software Foundation, Inc.

This is free software; see the source for copying conditions. There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ ruby --version

ruby 1.8.6 (2008-06-20 patchlevel 230) [x86_64-linux]

znmeb@DreamScape ~/cougar/PTR2/rubinius $

If I do

$ PREFIX=/home/znmeb/cougar/PTR2/install rake --trace install 2>&1 | tee ../install.log

it crashes -- can't find the shared library trying to load "rbx"

install -c -m 0644 lib/zlib.rb /home/znmeb/cougar/PTR2/install/lib/rubinius/0.9/zlib.rb

install -c -m 0644 lib/zlib.rb.ffi /home/znmeb/cougar/PTR2/install/lib/rubinius/0.9/zlib.rb.ffi

mkdir -p /home/znmeb/cougar/PTR2/install/lib/rubinius/0.9/bin

/home/znmeb/cougar/PTR2/install/bin/rbx compile /home/znmeb/cougar/PTR2/install/lib/rubinius/0.9/English.rb

/home/znmeb/cougar/PTR2/install/bin/rbx: error while loading shared libraries: librubinius-0.9.0.so: cannot open shared object file: No such file or directory

rake aborted!

Command failed with status (127): [/home/znmeb/cougar/PTR2/install/bin/rbx co...]

The whole log (build plus install) is attached.

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Attachments

People watching this ticket