MacOSX Compile error on '-bundle' and '-dynamiclib'
Bug #1150009 reported by
Ryan Lester
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyvlfeat |
New
|
Undecided
|
Unassigned |
Bug Description
While attempting to compile on MacOSX from both pip and source, I got the error:
clang: error: invalid argument '-bundle' not allowed with '-dynamiclib'
After a bit of searching, I fixed this by removing the '-shared' flag from the LinkArgs. I don't know if this solution has any unpleasant side-effects, however.
description: | updated |
To post a comment you must log in.
Unsure if this is related, but now when I try to construct VLFeat (ie. import _vlfeat), I get:
Fatal Python error: Interpreter not initialized (version mismatch?)
For more details: I am using the version of Python 2.7 provided by Homebrew. Looking around on the internet, it seems like this error occurs when the library builds against the wrong version of Python; however, I have been unable to find an easy fix for this.