Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

vecLib and OS X Yosemite #74

Open
paullryan opened this issue Nov 4, 2014 · 4 comments
Open

vecLib and OS X Yosemite #74

paullryan opened this issue Nov 4, 2014 · 4 comments

Comments

@paullryan
Copy link

The vecLib dependency is no longer required and in fact causes issues in the makefile with OS X Yosemite and up. Removing the vecLib dependency and leaving just Accelerate will result in a successful build with Yosemite. I'm not sure how you want to upgrade the Makefile for this as it's not something easy to detect from the makefile. Maybe a move to autoconf?

For those hitting the compile error ld: framework not found vecLib change your Makefile for the libcodegen target to the following:

ifeq ($(UNAME),Darwin)
    libtool -dynamic -flat_namespace -install_name libcodegen.$(VERSION).dylib -lSystem -compatibility_version $(VERSION_COMPAT) \
        -macosx_version_min 10.6 -current_version $(VERSION) -o libcodegen.$(VERSION).dylib -undefined suppress \
        $(MODULES_LIB) -framework Accelerate
else
    $(CXX) -shared -fPIC -Wl,-soname,$(SONAME) -o $(LIBNAME).$(VERSION) $(MODULES_LIB) -lz
endif
@sreejithr
Copy link

Thank you so much. Even reinstalling Command-line Tools didn't fix the problem. I was thinking of removing vecLib but was unsure since I'm unfamiliar with the codebase.

@paullryan
Copy link
Author

@sreejithr Your very welcome, glad I could help.

@sarahmonod
Copy link

Thanks, it worked for me too! Should definitely be merged at some point ;-)

@tbtommyb
Copy link

thanks from me as well!

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

No branches or pull requests

4 participants