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

MacOS cannot configure #81

Open
generalrbb opened this issue Jun 20, 2024 · 2 comments
Open

MacOS cannot configure #81

generalrbb opened this issue Jun 20, 2024 · 2 comments

Comments

@generalrbb
Copy link

configure: error: "Cannot build without libtiff (does your system require a libtiff-devel package?)"

@generalrbb
Copy link
Author

(base) xxx@localhost ~ % brew install libtiff
Warning: libtiff 4.6.0 is already installed and up-to-date.
To reinstall 4.6.0, run:
brew reinstall libtiff

@damirn
Copy link

damirn commented Aug 27, 2024

@generalrbb set CFLAGS and LDFLAGS env vars before running configure, i.e:

$ export CFLAGS="-I/opt/homebrew/Cellar/libtiff/4.6.0/include/ -I /opt/homebrew/Cellar/jpeg-turbo/3.0.3/include/"

$ export LDFLAGS="-L/opt/homebrew/Cellar/libtiff/4.6.0/lib/ -L/opt/homebrew/Cellar/jpeg-turbo/3.0.3/lib/"

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

2 participants