Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fail to install: library not found for -lLLVMAsmParser #40

Closed
wcbeard opened this issue Aug 13, 2013 · 6 comments
Closed

fail to install: library not found for -lLLVMAsmParser #40

wcbeard opened this issue Aug 13, 2013 · 6 comments

Comments

@wcbeard
Copy link

wcbeard commented Aug 13, 2013

Have recently performed:

brew update
brew rm llvm && brew install --build-from-source llvm

and reinstalled newest Apple CL tools

Output from

brew install --HEAD -v julia

is here.

@staticfloat
Copy link
Owner

Do you know if you have an llvm installed by any other tools? The last time an error like this showed up, it was because during Julia's compilation another llvm would be used instead of the one installed by Homebrew. (That user had Anaconda installed, which had its own install of llvm sitting around in a conspicuous place)

Can you post the output of brew --config and brew doctor? Also the output of echo $LDFLAGS, echo $CPPFLAGS and echo $CFLAGS, for good measure, to see if something is mucking around with the build environment.

@wcbeard
Copy link
Author

wcbeard commented Aug 14, 2013

I did install Anaconda, but thought I correctly uninstalled it (with rm -rf ~/anaconda). Maybe that has to do with it. I'll gist the output when I'm at my machine tomorrow.

Thanks

@wcbeard
Copy link
Author

wcbeard commented Aug 14, 2013

Here is the output. Doctor says llvm isn't linked, I'll try that and see if it works.

@wcbeard
Copy link
Author

wcbeard commented Aug 14, 2013

Ok, looks like linking let it install correctly, but the tests fail. Here's the output.

@Quantisan
Copy link
Contributor

@d10genes I had a similar error when upgrading julia. Try removing julia and associated suites brew rm julia arpack-julia suite-sparse-julia (append 64 if you're on 64-bit). Then reinstall.

@wcbeard
Copy link
Author

wcbeard commented Aug 15, 2013

SUCCESS! Thanks!

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

No branches or pull requests

3 participants