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

Install on M1 via brew #441

Open
jonalange opened this issue Feb 2, 2024 · 1 comment
Open

Install on M1 via brew #441

jonalange opened this issue Feb 2, 2024 · 1 comment
Assignees
Labels

Comments

@jonalange
Copy link

After installing imapsync with brew install imapsync and running imapsync to test it, I get the following error:

Can't load '/usr/local/Cellar/imapsync/2.264/libexec/lib/perl5/darwin-thread-multi-2level/auto/Unicode/String/String.bundle' for module Unicode::String: dlopen(/usr/local/Cellar/imapsync/2.264/libexec/lib/perl5/darwin-thread-multi-2level/auto/Unicode/String/String.bundle, 0x0001): tried: '/usr/local/Cellar/imapsync/2.264/libexec/lib/perl5/darwin-thread-multi-2level/auto/Unicode/String/String.bundle' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/imapsync/2.264/libexec/lib/perl5/darwin-thread-multi-2level/auto/Unicode/String/String.bundle' (no such file), '/usr/local/Cellar/imapsync/2.264/libexec/lib/perl5/darwin-thread-multi-2level/auto/Unicode/String/String.bundle' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')) at /System/Library/Perl/5.30/darwin-thread-multi-2level/DynaLoader.pm line 197.
 at /usr/local/Cellar/imapsync/2.264/libexec/bin/imapsync line 1018.
Compilation failed in require at /usr/local/Cellar/imapsync/2.264/libexec/bin/imapsync line 1018.
BEGIN failed--compilation aborted at /usr/local/Cellar/imapsync/2.264/libexec/bin/imapsync line 1018.

When running arch -x86_64 imapsync it doesn work.

Is this the only way to use it on M1? Is there no native way to do it? Do I always have to append arch -x86_64?

@gilleslamiral gilleslamiral self-assigned this Feb 3, 2024
@gilleslamiral
Copy link
Member

You can try using the script itself, instead of a binary bundle

https://imapsync.lamiral.info/INSTALL.d/INSTALL.Darwin.txt
....

E) Installing imapsync script on Darwin / Mac OS X the way I do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants