openslide on Apple silicon?

Jon Sauer jon.sauer at gmail.com
Thu Aug 31 15:03:06 EDT 2023


Hi again,

For your information, the machine learning I’m working on is in support of my daughter who just moved from Maine where she was the only pediatric neural oncologist (children’s brain tumors) in the state. She may well be the same, or at least one of very few,  in VT in her new position at Dartmouth-Hickock. I’ve followed her to VT to continue work on our grant which I can do as a semi-retired EE/physicist.

Cheers,
  Jon

Jon.Sauer at gmail.com
cell: +1.303.579.3009
White River Junction, VT, USA


> On Aug 31, 2023, at 12:34 PM, Benjamin Gilbert <bgilbert at cs.cmu.edu> wrote:
> 
> On Thu, Aug 31, 2023 at 11:32 AM Jon Sauer <jon.sauer at gmail.com> wrote:
>> OSError: dlopen(/usr/local/lib/libopenslide.dylib, 0x0006): tried: '/usr/local/lib/libopenslide.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/libopenslide.dylib' (no such file), '/usr/local/lib/libopenslide.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/usr/local/Cellar/openslide/3.4.1_7/lib/libopenslide.0.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/openslide/3.4.1_7/lib/libopenslide.0.dylib' (no such file), '/usr/local/Cellar/openslide/3.4.1_7/lib/libopenslide.0.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64’))
> 
> OpenSlide Python found your Homebrew copy of OpenSlide in /usr/local,
> but couldn't load it because it's an x86_64 binary instead of an arm64
> binary.  On ARM, Homebrew installs into /opt/homebrew instead.  Is it
> possible that your Homebrew installation was migrated from a previous
> x86_64 machine?  You might consider removing and reinstalling Homebrew
> so you have native ARM binaries.  That should also fix the error
> you're seeing.
> 
> --Benjamin Gilbert

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/openslide-users/attachments/20230831/f2b21d85/attachment-0003.html>


More information about the openslide-users mailing list