Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

make fix_install_names more robust #10291

Closed
wants to merge 1 commit into from

Conversation

camillol
Copy link
Contributor

The opencv formula does not seem to install correctly. The various libraries end up with install names of the type @loader_path/lib/libfoo.dylib, and then fail to load each other. I worked around this by making fix_install_names a bit more robust: before fixing the recorded path for a dependent library, it checks if the new target exists; if it does not, it tries using the basename of the old path; if this still fails, an error is reported, instead of silently using a bad name.

fixes a problem with the opencv formula
@mxcl
Copy link
Contributor

mxcl commented Feb 20, 2012

Approved. Thanks.

@jacknagel
Copy link
Contributor

Pulled.

@jacknagel jacknagel closed this in cdb406f Feb 22, 2012
etehtsea pushed a commit to etehtsea/homebrew that referenced this pull request Feb 22, 2012
fixes a problem with the opencv formula

Closes Homebrew#10291.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Sharpie pushed a commit to Sharpie/homebrew that referenced this pull request Jun 18, 2012
fixes a problem with the opencv formula

Closes Homebrew#10291.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this pull request Dec 17, 2012
fixes a problem with the opencv formula

Closes Homebrew#10291.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants