Closed T045T closed 6 years ago
Ping?
I'm new to using this issue template - do you wait for all the boxes in the template to be checked? Because I left those that do not apply to this issue unchecked, but I feel it is complete nonetheless.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
brew install
(orupgrade
,reinstall
) a single, official formula (not cask)? If it's a generalbrew
problem please file this issue at Homebrew/brew: https://github.com/Homebrew/brew/issues/new/choose. If it's abrew cask
problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.brew update
and can still reproduce the problem?brew doctor
, fixed all issues and can still reproduce the problem?brew gist-logs <formula>
(where<formula>
is the name of the formula that failed) and included the output link?brew gist-logs
didn't work: ranbrew config
andbrew doctor
and included their output with your issue?glew
comes withglewinfo
, which reports availability of OpenGL features.Installing
glew
on High Sierra and runningglewinfo
looks like this:The problem seems to be that
libGLEW
is referenced via@rpath
, butotool -l glewinfo
confirms that there is not@rpath
definition in the executable. I've put that into a gist together with the output ofbrew config
andbrew doctor
I was able to manually add the missing
@rpath
to the binary usinginstall_name_tool
:With that change,
glewinfo
works.I confirmed that manually building glew from the tarball in the Formula yields a
glewinfo
binary with correct@rpath
.brew install -s glew
produces a binary without@rpath
, though.Unrelated to this particular issue,
brew install --HEAD glew
fails completely (gist with logs):