plotd icon indicating copy to clipboard operation
plotd copied to clipboard

macOS. library not found for -lcairo

Open joelcnz opened this issue 9 years ago • 4 comments

Linking... ld: library not found for -lcairo clang: error: linker command failed with exit code 1 (use -v to see invocation) --- errorlevel 1 dmd failed with exit code 1. Joels-MacBook-Pro:plotd joelchristensen$

joelcnz avatar Oct 09 '16 03:10 joelcnz

You'll have to install cairo. More information https://www.cairographics.org/download/

I would think it is also in brew:

brew install cairo

BlackEdder avatar Oct 09 '16 12:10 BlackEdder

I used brew install cairo it installed, but I still get the same error, as before!

joelcnz avatar Oct 10 '16 03:10 joelcnz

Does the prebuild binary work for you? https://github.com/BlackEdder/plotd/releases

That one is build on travis using:

brew update
brew install cairo gtk+3

as far as I know gtk+3 is only needed for the gtk build, but you could try if that helps.

BlackEdder avatar Oct 10 '16 08:10 BlackEdder

Has this been solved? Can I close this issue?

BlackEdder avatar Oct 24 '16 06:10 BlackEdder