maelvls / homebrew-amc

🍺 Homebrew formula for auto-multiple-choice 📖
https://www.auto-multiple-choice.net/download-macosx.en
33 stars 8 forks source link

Cairo.c: loadable library and perl binaries are mismatched #88

Open alatour opened 11 months ago

alatour commented 11 months ago

I also have the message 👍 Cairo.c: loadable library and perl binaries are mismatched (got first handshake key 0xf880080, needed 0xff00080)

This problem appeared in that past (see: https://github.com/maelvls/homebrew-amc/issues/14)

here attached is the result of % brew info auto-multiple-choice % brew linkage auto-multiple-choice

maelvls.txt

It would be great if you can find the problem ! 👍

Best regards Alain Latour

philthepill commented 11 months ago

Hi, there's a little workaround. Found it out by chance. After having installed Auto-multiple-choice and facing the "mismatch" problem with Cairo.c:

alatour commented 11 months ago

Hi Phil!

Thanks for the detailed answer. I followed the instructions and was able to launch auto-multiple-choice without any problems. I created a toy project using a template. I was able to easily edit the source: TeXShop launched without having to redefine the LaTex link. It seems to work fine

Thanks again!

Kind regards Alain

https://www.univ-grenoble-alpes.fr/ Alain Latour Laboratoire Jean-Kuntzmann Université Grenoble Alpes CS 40700 38058 Grenoble cedex 9

(Fixe) +33.(0)4.57.42.17.54 (Portable) +33.(0)6.31.06.69.82 https://www.univ-grenoble-alpes.fr http://www.univ-grenoble-alpes.fr/ Site WEB Latour au LJK https://membres-ljk.imag.fr/Alain.Latour/ You may receive e-mails from me outside normal working hours. In this case, no immediate response is required. https://www.univ-grenoble-alpes.fr http://www.univ-grenoble-alpes.fr/ Site WEB Latour au LJK https://membres-ljk.imag.fr/Alain.Latour/

Le 1 nov. 2023 à 23:15, philthepill @.***> a écrit :

Hi, there's a little workaround. Found it out by chance. After having installed Auto-multiple-choice and facing the "mismatch" problem with Cairo.c:

Force uninstall the "Cairo" package. Ignore the warning. "brew uninstall --ignore-dependencies cairo" Then install the "Cairo" package again. "brew install cairo" Brew will automatically reinstall Auto-multiple-choice because of broken dependencies. Then it should work. Maybe you have to redefine the latex-link. "sudo auto-multiple-choice latex-link remove" "sudo auto-multiple-choice latex-link" Make sure to quit the terminal and to relaunch a new instance before you launch AMC. Kind Regards Phil — Reply to this email directly, view it on GitHub https://github.com/maelvls/homebrew-amc/issues/88#issuecomment-1789764865, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIIGRPVE6B5DBZ7OUKGB5UTYCLCZTAVCNFSM6AAAAAA6UDYZQKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBZG43DIOBWGU. You are receiving this because you authored the thread.

malshar commented 2 months ago

try this

brew uninstall --force --ignore-dependencies auto-multiple-choice brew reinstall glib brew install --build-from-source auto-multiple-choice

alatour commented 1 month ago

Hi,

I tried your suggestions. Now it is works fine.

Thanks Alain LATOUR

Le 3 août 2024 à 08:52, Michel E. AlSharidah @.***> a écrit :

try this

brew uninstall --force --ignore-dependencies auto-multiple-choice brew reinstall glib brew install --build-from-source auto-multiple-choice

— Reply to this email directly, view it on GitHub https://github.com/maelvls/homebrew-amc/issues/88#issuecomment-2266563664, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIIGRPQEMCCZEEPU2OOEEZDZPR43DAVCNFSM6AAAAABL5VFZG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRWGU3DGNRWGQ. You are receiving this because you authored the thread.