Closed rwhite-lightbox closed 4 years ago
If I unlink a few installed libraries I'm at least able to get gdalinfo --formats to run:
brew unlink libpng
brew unlink libtiff
brew unlink libjpeg
brew unlink giflib
Still testing if anything needing these libraries will still work.
Hi @RWhite-EDR it seems a problem from libjpeg
rather than osgeo-gdal
then. Have you try to reinstall libjpeg
? Could you post your brew doctor
output?
brew doctor is ready to brew before I unlink and is now showing the unlinked libraries.
I have tried multiple reinstalls of libjpeg, gdal, and osgeo-gdal. I have not tried to brew reinstall jpeg after installing GDAL.
Unlinking the libraries above is working for my specific gdal problem.
brew install jpeg by itself appears to be working. Meaning that the djpeg program installed with the libraries is working by itself.
DYLD_LIBRARY_PATH isn't set in my .zshrc and appears to be the default /usr/local/bin .
If I had to guess, there is a version or path conflict between the JPEG libraries in the system image io framework, JPEG, and GDAL.
Yes, I think so. I don’t exactly know the libjpeg
case, but it seems weird you have picked something from within Frameworks directory when using a formula from HomeBrew. You can close this issue if you think you’ve solved it and check what happens with the next update of GDAL formula.
This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want to keep the issue open, please comment or update the info here. Thank you for your contributions.
Please answers the following
I've...
brew update
twice?)brew gist-logs formula
Describe the bug I'm able to install osgeo-gdal, but gdalinfo --formats or --version fails with the following error:
dyld: Symbol not found: __cg_jpeg_resync_to_restart Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO Expected in: /usr/local/lib/libjpeg.9.dylib in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect to see a list of installed formats or version.
Additional context
I believe there is an issue with osgeo-jpeg and the ImageIO.framework. I'm able to test the jpeg install with djpeg and a random jpeg file.
This is also an issue with the brew gdal formula.