Closed nonrational closed 10 years ago
Encountered a similar issue with 1.7.12 and 1.7.13, filed issue upstream at jruby/jruby#1830
Sorry for the long delay on this. It looks fine except for the small change I noted about not needing to export
in your conditional block. Ping me when you've fixed that up and I'll happily merge.
@dgoodlad doh! good catch. consider it removed.
I believe this fixes https://github.com/boxen/puppet-java/issues/23
When
$DYLD_FALLBACK_LIBRARY_PATH
is empty, the default path is used internally. Fromman dyld
By always appending homebrew's lib path to
DYLD_FALLBACK_LIBRARY_PATH
we end up breaking compatibility between java's ability to correctly reference the default paths for C libs, which breaks, among other things, parts ofjruby
.Further Reading: http://stackoverflow.com/questions/3146274/is-it-ok-to-use-dyld-library-path-on-mac-os-x-and-whats-the-dynamic-library-s#comment21758755_3172515 https://github.com/Homebrew/homebrew/issues/13463