maelvls / homebrew-amc

๐Ÿบ Homebrew formula for auto-multiple-choice ๐Ÿ“–
https://www.auto-multiple-choice.net/download-macosx.en
34 stars 10 forks source link

Perl binaries are mismatched? #14

Closed fandinomat closed 6 years ago

fandinomat commented 6 years ago

Hello Mael and thank you for creating this formula. Here is the issue I am having, upon running AMC I get the following error:

Cairo.c: loadable library and perl binaries are mismatched (got handshake key 0xdb00080, needed 0xc500080)

I installed mactex with brew cask successfully. When I do "brew info auto-multiple-choice" all dependencies are ok. I am using mac OS High Sierra 10.13.5 and Homebrew 1.7.0

Any help would be very much appreciated! Mateus.

maelvls commented 6 years ago

Hi,

Thank you for reaching out!

I'll investigate today. Can you give me the output of the commands

brew info auto-multiple-choice
brew linkage auto-multiple-choice
maelvls commented 6 years ago

I could reproduce it. The cairo lib has been updated but I forgot to re-build the bottle (pre-built auto-multiple-choice binaries) and the brew linkage auto-multiple-choice did not give me any error.

You can now run:

brew reinstall auto-multiple-choice

It should work now. Thank you so much!

fandinomat commented 6 years ago

Thank you!

I get to run AMC now. However, whe I try to run the simplest example from here ( https://www.auto-multiple-choice.net/auto-multiple-choice.en/latex.shtml#latex.simple ) I get 12 latex errors related to lines of code that are not even in my document. I suspect those are latex lines of code internal to AMC somewhere?

The full output is below. P.s: I don't know if this is the right place to ask about this, or if I should move this to an AMC forum. Let me know.

fandinomat commented 6 years ago

Options : This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode LaTeX2e <2018-04-01> patch level 5 (./simple.tex (/usr/local/texlive/2018/texmf-dist/tex/latex/base/article.cls Document Class: article 2014/09/29 v1.4h Standard LaTeX document class (/usr/local/texlive/2018/texmf-dist/tex/latex/base/size10.clo)) (/usr/local/texlive/2018/texmf-dist/tex/latex/base/inputenc.sty (/usr/local/texlive/2018/texmf-dist/tex/latex/ucs/utf8x.def)) (/usr/local/texlive/2018/texmf-dist/tex/latex/ucs/ucs.sty (/usr/local/texlive/2018/texmf-dist/tex/latex/ucs/data/uni-global.def)) (/usr/local/texlive/2018/texmf-dist/tex/latex/base/fontenc.sty (/usr/local/texlive/2018/texmf-dist/tex/latex/base/t1enc.def)) (/usr/local/texlive/texmf-local/tex/latex/automultiplechoice.sty AMC version: 2018/03/07 v1.3.0+hg2018-03-07 r:bf07b77e8a6d (/usr/local/texlive/2018/texmf-dist/tex/latex/xcolor/xcolor.sty (/usr/local/texlive/2018/texmf-dist/tex/latex/graphics-cfg/color.cfg) (/usr/local/texlive/2018/texmf-dist/tex/latex/graphics-def/pdftex.def)) (/usr/local/texlive/2018/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty) (/usr/local/texlive/2018/texmf-dist/tex/latex/bophook/bophook.sty) (/usr/local/texlive/2018/texmf-dist/tex/latex/xkeyval/xkeyval.sty (/usr/local/texlive/2018/texmf-dist/tex/generic/xkeyval/xkeyval.tex (/usr/local/texlive/2018/texmf-dist/tex/generic/xkeyval/xkvutils.tex (/usr/local/texlive/2018/texmf-dist/tex/generic/xkeyval/keyval.tex)))) (/usr/local/texlive/2018/texmf-dist/tex/latex/graphics/rotating.sty (/usr/local/texlive/2018/texmf-dist/tex/latex/graphics/graphicx.sty (/usr/local/texlive/2018/texmf-dist/tex/latex/graphics/graphics.sty (/usr/local/texlive/2018/texmf-dist/tex/latex/graphics/trig.sty) (/usr/local/texlive/2018/texmf-dist/tex/latex/graphics-cfg/graphics.cfg))) (/usr/local/texlive/2018/texmf-dist/tex/latex/base/ifthen.sty)) (/usr/local/texlive/2018/texmf-dist/tex/latex/fancybox/fancybox.sty Style option: `fancybox' v1.4 <2010/05/15> (tvz) ) (/usr/local/texlive/2018/texmf-dist/tex/latex/l3kernel/expl3.sty (/usr/local/texlive/2018/texmf-dist/tex/latex/l3kernel/expl3-code.tex) (/usr/local/texlive/2018/texmf-dist/tex/latex/l3kernel/l3pdfmode.def)) ! Undefined control sequence.

\LaTeX3 error: The deprecated command '\tl_to_lowercase:n' has b... l.1283 \tl_to_lowercase:n !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! LaTeX error: "kernel/deprecated-command" ! ! The deprecated command '\tl_to_lowercase:n' has been or will be removed on ! 2018-03-05. Use instead '\tex_lowercase:D '. ! ! See the LaTeX3 documentation for further information. ! ! Type to continue. !............................................... l.1283 \tl_to_lowercase:n (/usr/local/texlive/2018/texmf-dist/tex/latex/environ/environ.sty (/usr/local/texlive/2018/texmf-dist/tex/latex/trimspaces/trimspaces.sty)) (/usr/local/texlive/2018/texmf-dist/tex/latex/etex-pkg/etex.sty Package etex Warning: Extended allocation already in use. (etex) etex.sty code will not be used. (etex) To force etex package to load, add (etex) \RequirePackage{etex} (etex) at the start of the document. ) ***SUJET*** (/usr/local/texlive/2018/texmf-dist/tex/latex/geometry/geometry.sty (/usr/local/texlive/2018/texmf-dist/tex/generic/oberdiek/ifpdf.sty) (/usr/local/texlive/2018/texmf-dist/tex/generic/oberdiek/ifvtex.sty) (/usr/local/texlive/2018/texmf-dist/tex/generic/ifxetex/ifxetex.sty))) (./amc-compiled.aux) (/usr/local/texlive/2018/texmf-dist/tex/latex/ucs/ucsencs.def) (/usr/local/texlive/2018/texmf-dist/tex/context/base/mkii/supp-pdf.mkii [Loading MPS to PDF converter (version 2006.09.02).] ) (/usr/local/texlive/2018/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty (/usr/local/texlive/2018/texmf-dist/tex/generic/oberdiek/infwarerr.sty) (/usr/local/texlive/2018/texmf-dist/tex/latex/oberdiek/grfext.sty (/usr/local/texlive/2018/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty (/usr/local/texlive/2018/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))) (/usr/local/texlive/2018/texmf-dist/tex/latex/oberdiek/kvoptions.sty (/usr/local/texlive/2018/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty (/usr/local/texlive/2018/texmf-dist/tex/generic/oberdiek/etexcmds.sty (/usr/local/texlive/2018/texmf-dist/tex/generic/oberdiek/ifluatex.sty)))) (/usr/local/texlive/2018/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty) (/usr/local/texlive/2018/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg)) *geometry* driver: auto-detecting *geometry* detected driver: pdftex (/usr/local/texlive/2018/texmf-dist/tex/latex/ucs/data/uni-0.def) (/usr/local/texlive/2018/texmf-dist/tex/latex/base/t1cmtt.fd) [1{/usr/local/tex live/2018/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] [1] [1] [1] [1] [1] [1] [1] [1] [1] (./amc-compiled.aux) ) (see the transcript file for additional information){/usr/local/texlive/2018/te xmf-dist/fonts/enc/dvips/cm-super/cm-super-t1.enc} Output written on amc-compiled.pdf (10 pages, 122364 bytes). Transcript written on amc-compiled.log.
maelvls commented 6 years ago

I have the exact same error (texlive 2018 basic).

You are right, I think this would need to be posted to the AMC forum. The issue with tl_to_lowercase in automultiplechoice.sty has been reported in https://project.auto-multiple-choice.net/issues/544 and is already fixed in 1.4.0-rc1.

Unfortunately, my homebrew formula points to the latest "stable" version (1.3.0.2199) which is a couple of months old and contains this bug.

I'll update the formula as soon as the 1.4.0 is released. In the meantime, you can use the 1.4.0-rc1 using:

brew install auto-multiple-choice --devel

(you might need to brew uninstall before)

fandinomat commented 6 years ago

Works. Thanks! :)

technofeliz commented 5 years ago

Hi,

I have a similar problem today with the devel version (installed with ~ ยป brew install maelvalais/amc/auto-multiple-choice-devel)

During installation :

Warning: maelvalais/amc/auto-multiple-choice-devel dependency gcc was built with a different C++ standard
library (libstdc++ from clang). This may cause problems at runtime.

And after :

loadable library and perl binaries are mismatched (got handshake key 0xc500080, needed 0xc400080)

How could i get rid of this error... AMC is not running anymore. It was running fantastic before, I think it's a brew update (perl ? other ?) that broke everything. Is there a way to revert lib version to the working ones for AMC ?

Thanks

maelvls commented 5 years ago

Hi! Good news, I fixed the second issue this afternoon :tada: Regarding the libstdc++ mismatch, I did not find a solution (yet) but it should work anyway.

You can brew upgrade auto-multiple-choice and it should be working again ๐Ÿ™‚

technofeliz commented 5 years ago

Wow... that was fast ! AMC is launching again (I had to clean brew cache to force a new download) The installation warning doesn't seem to have any impact on the execution for the moment...

Fantastic job ! :-)

DrSAR commented 2 years ago

I'm getting the same error (Cairo.c: loadable library and perl binaries are mismatched) from a v1.5.0 installation. brew info and linkage attached: AMC.brewinfo.txt AMC.brewlinkage.txt

Seems to be the same as issue #15 . I'm not totally sure which version is colliding with what. darwin's perl seems to be at v5.36.0.

mmdevl commented 1 year ago

Hi @DrSAR. Maybe this still helps: https://github.com/maelvls/homebrew-amc/issues/80#issuecomment-1398243292

prochat commented 1 year ago

Same problem here : Cairo.c: loadable library and perl binaries are mismatched (got first handshake key 0xf880080, needed 0xf900080)

==> maelvls/amc/auto-multiple-choice: stable 1.5.0 (bottled) Printable tests for students with OCR marking https://www.auto-multiple-choice.net /usr/local/Cellar/auto-multiple-choice/1.5.0 (1,295 files, 32.0MB) * Poured from bottle on 2023-06-06 at 08:47:24 From: https://github.com/maelvls/homebrew-amc/blob/HEAD/auto-multiple-choice.rb ==> Dependencies Build: librsvg โœ”, make โœ˜ Required: adwaita-icon-theme โœ”, amc-pango โœ”, cairo โœ”, freetype โœ”, gettext โœ”, glib โœ”, gobject-introspection โœ”, gtk+3 โœ”, imagemagick@6 โœ”, libffi โœ”, libx11 โœ”, netpbm โœ”, opencv โœ”, openssl@1.1 โœ”, perl โœ”, poppler โœ”, qpdf โœ” ==> Caveats If you don't have Mactex installed, you will need it:

   brew install homebrew/cask/mactex

Where is automultiplechoice.sty? After installing, run:

   sudo auto-multiple-choice latex-link remove
   sudo auto-multiple-choice latex-link

If you have any problem/remark regarding this formula, you can submit an issue to https://github.com/maelvls/homebrew-amc.

brew linkage auto-multiple-choice Warning: linkage is a developer command, so Homebrew's developer mode has been automatically turned on. To turn developer mode off, run: brew developer off

System libraries: /usr/lib/libSystem.B.dylib /usr/lib/libc++.1.dylib /usr/lib/libexpat.1.dylib /usr/lib/libz.1.dylib Homebrew libraries: /usr/local/opt/cairo/lib/libcairo-gobject.2.dylib (cairo) /usr/local/opt/cairo/lib/libcairo.2.dylib (cairo) /usr/local/opt/freetype/lib/libfreetype.6.dylib (freetype) /usr/local/opt/gettext/lib/libintl.8.dylib (gettext) /usr/local/opt/glib/lib/libgio-2.0.0.dylib (glib) /usr/local/opt/glib/lib/libglib-2.0.0.dylib (glib) /usr/local/opt/glib/lib/libgmodule-2.0.0.dylib (glib) /usr/local/opt/glib/lib/libgobject-2.0.0.dylib (glib) /usr/local/opt/glib/lib/libgthread-2.0.0.dylib (glib) /usr/local/opt/gobject-introspection/lib/libgirepository-1.0.1.dylib (gobject-introspection) /usr/local/opt/imagemagick@6/lib/libMagickCore-6.Q16.7.dylib (imagemagick@6) /usr/local/opt/libffi/lib/libffi.8.dylib (libffi) /usr/local/opt/amc-pango/lib/libpango-1.0.0.dylib (maelvls/amc/amc-pango) /usr/local/opt/amc-pango/lib/libpangocairo-1.0.0.dylib (maelvls/amc/amc-pango) /usr/local/opt/openssl@1.1/lib/libcrypto.1.1.dylib (openssl@1.1) /usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib (openssl@1.1) /usr/local/opt/poppler/lib/libpoppler-glib.8.dylib (poppler) Broken dependencies: /usr/local/opt/opencv/lib/libopencv_alphamat.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_aruco.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_barcode.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_bgsegm.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_bioinspired.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_calib3d.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_ccalib.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_core.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_datasets.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_dnn.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_dnn_objdetect.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_dnn_superres.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_dpm.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_face.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_features2d.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_flann.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_freetype.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_fuzzy.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_gapi.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_hfs.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_highgui.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_img_hash.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_imgcodecs.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_imgproc.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_intensity_transform.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_line_descriptor.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_mcc.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_ml.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_objdetect.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_optflow.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_phase_unwrapping.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_photo.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_plot.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_quality.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_rapid.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_reg.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_rgbd.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_saliency.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_sfm.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_shape.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_stereo.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_stitching.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_structured_light.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_superres.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_surface_matching.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_text.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_tracking.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_video.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_videoio.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_videostab.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_viz.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_wechat_qrcode.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_xfeatures2d.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_ximgproc.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_xobjdetect.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_xphoto.405.dylib (opencv) Dependencies with no linkage: adwaita-icon-theme libx11

basalamah commented 1 year ago

I face the same issue:

Cairo.c: loadable library and perl binaries are mismatched (got first handshake key 0xf880080, needed 0xff00080)

gvbever commented 11 months ago

Dear Mael, I'm also facing the same issues. Here's the output of brew info auto-multiple-choice brew linkage auto-multiple-choice

==> maelvls/amc/auto-multiple-choice: stable 1.5.0 (bottled) Printable tests for students with OCR marking https://www.auto-multiple-choice.net /usr/local/Cellar/auto-multiple-choice/1.5.0 (1,295 files, 32.0MB) * Poured from bottle on 2023-12-18 at 19:30:43 From: https://github.com/maelvls/homebrew-amc/blob/HEAD/auto-multiple-choice.rb ==> Dependencies Build: librsvg โœ”, make โœ˜ Required: adwaita-icon-theme โœ”, amc-pango โœ”, cairo โœ”, freetype โœ”, gettext โœ”, glib โœ”, gobject-introspection โœ”, gtk+3 โœ”, imagemagick@6 โœ”, libffi โœ”, libx11 โœ”, netpbm โœ”, opencv โœ”, openssl@1.1 โœ”, perl โœ”, poppler โœ”, qpdf โœ” ==> Caveats If you don't have Mactex installed, you will need it:

   brew install homebrew/cask/mactex

Where is automultiplechoice.sty? After installing, run:

   sudo auto-multiple-choice latex-link remove
   sudo auto-multiple-choice latex-link

If you have any problem/remark regarding this formula, you can submit an issue to https://github.com/maelvls/homebrew-amc. Warning: linkage is a developer command, so Homebrew's developer mode has been automatically turned on. To turn developer mode off, run: brew developer off

System libraries: /usr/lib/libSystem.B.dylib /usr/lib/libc++.1.dylib /usr/lib/libexpat.1.dylib /usr/lib/libz.1.dylib Homebrew libraries: /usr/local/opt/cairo/lib/libcairo-gobject.2.dylib (cairo) /usr/local/opt/cairo/lib/libcairo.2.dylib (cairo) /usr/local/opt/freetype/lib/libfreetype.6.dylib (freetype) /usr/local/opt/gettext/lib/libintl.8.dylib (gettext) /usr/local/opt/glib/lib/libgio-2.0.0.dylib (glib) /usr/local/opt/glib/lib/libglib-2.0.0.dylib (glib) /usr/local/opt/glib/lib/libgmodule-2.0.0.dylib (glib) /usr/local/opt/glib/lib/libgobject-2.0.0.dylib (glib) /usr/local/opt/glib/lib/libgthread-2.0.0.dylib (glib) /usr/local/opt/gobject-introspection/lib/libgirepository-1.0.1.dylib (gobject-introspection) /usr/local/opt/imagemagick@6/lib/libMagickCore-6.Q16.7.dylib (imagemagick@6) /usr/local/opt/libffi/lib/libffi.8.dylib (libffi) /usr/local/opt/amc-pango/lib/libpango-1.0.0.dylib (maelvls/amc/amc-pango) /usr/local/opt/amc-pango/lib/libpangocairo-1.0.0.dylib (maelvls/amc/amc-pango) /usr/local/opt/openssl@1.1/lib/libcrypto.1.1.dylib (openssl@1.1) /usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib (openssl@1.1) /usr/local/opt/poppler/lib/libpoppler-glib.8.dylib (poppler) Broken dependencies: /usr/local/opt/opencv/lib/libopencv_alphamat.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_aruco.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_barcode.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_bgsegm.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_bioinspired.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_calib3d.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_ccalib.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_core.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_datasets.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_dnn.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_dnn_objdetect.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_dnn_superres.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_dpm.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_face.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_features2d.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_flann.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_freetype.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_fuzzy.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_gapi.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_hfs.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_highgui.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_img_hash.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_imgcodecs.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_imgproc.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_intensity_transform.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_line_descriptor.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_mcc.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_ml.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_objdetect.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_optflow.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_phase_unwrapping.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_photo.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_plot.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_quality.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_rapid.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_reg.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_rgbd.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_saliency.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_sfm.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_shape.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_stereo.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_stitching.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_structured_light.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_superres.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_surface_matching.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_text.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_tracking.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_video.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_videoio.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_videostab.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_viz.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_wechat_qrcode.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_xfeatures2d.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_ximgproc.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_xobjdetect.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_xphoto.405.dylib (opencv) Dependencies with no linkage: adwaita-icon-theme libx11

euchi commented 8 months ago

hi,

Same here : Cairo.c: loadable library and perl binaries are mismatched (got first handshake key 0xf880080, needed 0xff00080)

Same linkage I think : System libraries: /usr/lib/libSystem.B.dylib /usr/lib/libc++.1.dylib /usr/lib/libexpat.1.dylib /usr/lib/libz.1.dylib Homebrew libraries: /usr/local/opt/cairo/lib/libcairo-gobject.2.dylib (cairo) /usr/local/opt/cairo/lib/libcairo.2.dylib (cairo) /usr/local/opt/freetype/lib/libfreetype.6.dylib (freetype) /usr/local/opt/gettext/lib/libintl.8.dylib (gettext) /usr/local/opt/glib/lib/libgio-2.0.0.dylib (glib) /usr/local/opt/glib/lib/libglib-2.0.0.dylib (glib) /usr/local/opt/glib/lib/libgmodule-2.0.0.dylib (glib) /usr/local/opt/glib/lib/libgobject-2.0.0.dylib (glib) /usr/local/opt/glib/lib/libgthread-2.0.0.dylib (glib) /usr/local/opt/gobject-introspection/lib/libgirepository-1.0.1.dylib (gobject-introspection) /usr/local/opt/imagemagick@6/lib/libMagickCore-6.Q16.7.dylib (imagemagick@6) /usr/local/opt/libffi/lib/libffi.8.dylib (libffi) /usr/local/opt/amc-pango/lib/libpango-1.0.0.dylib (maelvls/amc/amc-pango) /usr/local/opt/amc-pango/lib/libpangocairo-1.0.0.dylib (maelvls/amc/amc-pango) /usr/local/opt/openssl@1.1/lib/libcrypto.1.1.dylib (openssl@1.1) /usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib (openssl@1.1) /usr/local/opt/poppler/lib/libpoppler-glib.8.dylib (poppler) Broken dependencies: /usr/local/opt/opencv/lib/libopencv_alphamat.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_aruco.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_barcode.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_bgsegm.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_bioinspired.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_calib3d.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_ccalib.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_core.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_datasets.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_dnn.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_dnn_objdetect.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_dnn_superres.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_dpm.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_face.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_features2d.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_flann.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_freetype.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_fuzzy.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_gapi.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_hfs.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_highgui.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_img_hash.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_imgcodecs.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_imgproc.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_intensity_transform.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_line_descriptor.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_mcc.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_ml.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_objdetect.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_optflow.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_phase_unwrapping.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_photo.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_plot.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_quality.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_rapid.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_reg.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_rgbd.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_saliency.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_sfm.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_shape.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_stereo.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_stitching.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_structured_light.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_superres.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_surface_matching.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_text.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_tracking.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_video.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_videoio.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_videostab.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_viz.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_wechat_qrcode.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_xfeatures2d.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_ximgproc.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_xobjdetect.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_xphoto.405.dylib (opencv) Dependencies with no linkage: adwaita-icon-theme libx11

malshar commented 3 months ago

try this solution

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

malshar commented 3 months ago

try this solution, it worked for me

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

hi,

Same here : Cairo.c: loadable library and perl binaries are mismatched (got first handshake key 0xf880080, needed 0xff00080)

Same linkage I think : System libraries: /usr/lib/libSystem.B.dylib /usr/lib/libc++.1.dylib /usr/lib/libexpat.1.dylib /usr/lib/libz.1.dylib Homebrew libraries: /usr/local/opt/cairo/lib/libcairo-gobject.2.dylib (cairo) /usr/local/opt/cairo/lib/libcairo.2.dylib (cairo) /usr/local/opt/freetype/lib/libfreetype.6.dylib (freetype) /usr/local/opt/gettext/lib/libintl.8.dylib (gettext) /usr/local/opt/glib/lib/libgio-2.0.0.dylib (glib) /usr/local/opt/glib/lib/libglib-2.0.0.dylib (glib) /usr/local/opt/glib/lib/libgmodule-2.0.0.dylib (glib) /usr/local/opt/glib/lib/libgobject-2.0.0.dylib (glib) /usr/local/opt/glib/lib/libgthread-2.0.0.dylib (glib) /usr/local/opt/gobject-introspection/lib/libgirepository-1.0.1.dylib (gobject-introspection) /usr/local/opt/imagemagick@6/lib/libMagickCore-6.Q16.7.dylib (imagemagick@6) /usr/local/opt/libffi/lib/libffi.8.dylib (libffi) /usr/local/opt/amc-pango/lib/libpango-1.0.0.dylib (maelvls/amc/amc-pango) /usr/local/opt/amc-pango/lib/libpangocairo-1.0.0.dylib (maelvls/amc/amc-pango) /usr/local/opt/openssl@1.1/lib/libcrypto.1.1.dylib (openssl@1.1) /usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib (openssl@1.1) /usr/local/opt/poppler/lib/libpoppler-glib.8.dylib (poppler) Broken dependencies: /usr/local/opt/opencv/lib/libopencv_alphamat.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_aruco.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_barcode.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_bgsegm.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_bioinspired.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_calib3d.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_ccalib.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_core.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_datasets.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_dnn.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_dnn_objdetect.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_dnn_superres.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_dpm.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_face.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_features2d.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_flann.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_freetype.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_fuzzy.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_gapi.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_hfs.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_highgui.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_img_hash.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_imgcodecs.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_imgproc.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_intensity_transform.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_line_descriptor.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_mcc.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_ml.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_objdetect.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_optflow.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_phase_unwrapping.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_photo.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_plot.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_quality.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_rapid.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_reg.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_rgbd.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_saliency.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_sfm.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_shape.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_stereo.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_stitching.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_structured_light.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_superres.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_surface_matching.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_text.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_tracking.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_video.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_videoio.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_videostab.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_viz.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_wechat_qrcode.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_xfeatures2d.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_ximgproc.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_xobjdetect.405.dylib (opencv) /usr/local/opt/opencv/lib/libopencv_xphoto.405.dylib (opencv) Dependencies with no linkage: adwaita-icon-theme libx11