macOS Monterey... Library not loaded: /usr/local/opt/libffi/lib/libffi.7.dylib

Added by Jérémie Schutz about 3 years ago

Bonjour,

Après une mise à jour vers macOS Monterey, je ne parviens plus à exécuter AMC...
Malgré de nombreuses tentatives de résolution trouvées sur divers forums, j'obtiens inlassablement ce message d'erreur :

Can't load '/usr/local/Cellar/auto-multiple-choice/1.5.0/libexec/lib/perl5/darwin-thread-multi-2level/auto/Glib/Object/Introspection/Introspection.bundle' for module Glib::Object::Introspection: dlopen(/usr/local/Cellar/auto-multiple-choice/1.5.0/libexec/lib/perl5/darwin-thread-multi-2level/auto/Glib/Object/Introspection/Introspection.bundle, 0x0001): Library not loaded: /usr/local/opt/libffi/lib/libffi.7.dylib
Referenced from: /usr/local/Cellar/auto-multiple-choice/1.5.0/libexec/lib/perl5/darwin-thread-multi-2level/auto/Glib/Object/Introspection/Introspection.bundle
Reason: tried: '/usr/local/opt/libffi/lib/libffi.7.dylib' (no such file), '/usr/local/lib/libffi.7.dylib' (no such file), '/usr/lib/libffi.7.dylib' (no such file), '/usr/local/Cellar/libffi/3.4.2/lib/libffi.7.dylib' (no such file), '/usr/local/lib/libffi.7.dylib' (no such file), '/usr/lib/libffi.7.dylib' (no such file) at /usr/local/Cellar/perl/5.34.0/lib/perl5/5.34.0/XSLoader.pm line 96.
at /usr/local/Cellar/auto-multiple-choice/1.5.0/libexec/lib/perl5/Gtk3.pm line 48.
Compilation failed in require at /usr/local/Cellar/auto-multiple-choice/1.5.0/libexec/lib/perl5/Gtk3.pm line 48.
BEGIN failed--compilation aborted at /usr/local/Cellar/auto-multiple-choice/1.5.0/libexec/lib/perl5/Gtk3.pm line 48.
Compilation failed in require at /usr/local/Cellar/auto-multiple-choice/1.5.0/lib/AMC/perl/AMC-gui.pl line 26.
BEGIN failed--compilation aborted at /usr/local/Cellar/auto-multiple-choice/1.5.0/lib/AMC/perl/AMC-gui.pl line 26.

En vous remerciant par avance pour l'aide apportée :)


Replies (1)

RE: macOS Monterey... Library not loaded: /usr/local/opt/libffi/lib/libffi.7.dylib - Added by Antoine Bluheim about 3 years ago

C'est peut-être le même problème que sur les Mac M1.
A priori, il faut attendre la mise à jour de gobject-introspection qui doit arriver sous peu.
Le fil est ici: https://project.auto-multiple-choice.net/boards/3/topics/10487

(1-1/1)