openslide on Apple silicon?

Jon Sauer jon.sauer at gmail.com
Thu Aug 31 14:53:48 EDT 2023


Hi Benjamin,

Yes indeed, my whole environment on the new Mac Studio was migrated from my old 15” 2016 MacBook Pro, an x86_64 machine just as you surmised.

Many, many thanks. I’ll make the necessay changes, only mention something again if I can’t make it work.

Thanks again.

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/64c83459/attachment.html>


More information about the openslide-users mailing list