Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

homebrew+lgmp+boxen not linking #123

Open
maxlinc opened this issue Nov 10, 2014 · 0 comments
Open

homebrew+lgmp+boxen not linking #123

maxlinc opened this issue Nov 10, 2014 · 0 comments

Comments

@maxlinc
Copy link

maxlinc commented Nov 10, 2014

This has already been reported in homebrew (which as the gmp formula) and eventmachine - but don't think either sees it as a bug they can address. I'm hoping puppet-ruby is the right place to resolved this.

A few people have been reporting issues installing the eventmachine gem, and the most common reported error seems to be:

ld: library not found for -lgmp

I was one of those users and found that I could link with:

DYLD_LIBRARY_PATH="/opt/boxen/homebrew/lib"

Keeping that set permanently causes other problems, though.

I haven't had any issues linking to libraries installed via under /opt/boxen/homebrew before, so it seems odd that I would need to manually set the DYLD_LIBRARY_PATH.

What's going wrong here? Is boxen supposed to configure the system so gem's will link against /opt/boxen/homebrew/lib by default, should gmp be installing somewhere else even if homebrew --prefix is /opt/boxen/homebrew, or is there something wrong with the eventmachine extconf.rb?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant