From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/115122 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Luis Montgomery via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: Setting up zint on a mac with macOS Montery Version 12.3.1 Date: Mon, 30 May 2022 17:13:09 -0500 Message-ID: References: <35dfcbda-f5aa-1eeb-f8af-8f6ddba2b3dd@gmail.com> <096E2950-39C5-419D-96BC-245B9350EE71@scorecrow.com> <475d96e6-0905-7d2d-a51d-84b06d340de9@gmail.com> <26994114-7E84-4809-986C-70429F4C1A7A@scorecrow.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6766240227850769649==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27825"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Luis Montgomery To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue May 31 00:14:18 2022 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nvneU-00073l-Bl for gctc-ntg-context-518@m.gmane-mx.org; Tue, 31 May 2022 00:14:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3B3D628A17E; Tue, 31 May 2022 00:13:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K1-G2x3aHe1M; Tue, 31 May 2022 00:13:25 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D57F128A17A; Tue, 31 May 2022 00:13:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6934D28A0E7 for ; Tue, 31 May 2022 00:13:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dKfDpc3Tr860 for ; Tue, 31 May 2022 00:13:20 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.208.42; helo=mail-ed1-f42.google.com; envelope-from=monty.luis@gmail.com; receiver= Original-Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id B077628A089 for ; Tue, 31 May 2022 00:13:20 +0200 (CEST) Original-Received: by mail-ed1-f42.google.com with SMTP id t5so15211207edc.2 for ; Mon, 30 May 2022 15:13:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Uln6MtYmy5aJ0o45m3clGdbQOjJmtrzKh3mtlnOWLU8=; b=JKzuBDnN8C0SX3C9qEwXLBHUgJ9ZabziPq6k6CDCQ9F0ddflTlqLvqd2rzopdw4KXr xQzgndhQKS3KV2cBB/LYBLsszuofa8Rc7j4lVXIL1CxR/lPFqFT8DWqHy62t/K4FNw2O algEFojF3O4HOXYgYIInKtoVtPdEVA6Zal2RecdeYiRF71at3uqLau8M60EO7w4FOeQs 55KY4rfgZjtRu0UMHdjFiEp6mLNujb7TwpDVgBl26fjjzdVyRlQ9hfIIyQ62vNzgZQcO Mr7v7HIGFgcd/CNhjqgPBAkjIM4y9DYDZzDuv2Mk+tT0F0nNWh+VtHpoZvjgn5qhj799 sCqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Uln6MtYmy5aJ0o45m3clGdbQOjJmtrzKh3mtlnOWLU8=; b=XvIJG0cZLwWM1uaXVL6YkvR2zhTdMO3shHfgr90VUpeuUQKefhMUfg7+GaQg0hYXaN ucahtZaiN4s4Q1kVfBpwAWZIfLpjfgkZYaHJ17iGx6slq2mtSfooVQm162U+QW0bo6gT NuzzLI6cjNec6tX1EoEG8iXTGXiTzO//R0uNUem3TUryX24dEO39K/AVCn9vxbCJgHKn 0xp0Z1P/ODz5c/LrRsBeKssUZpkYQfLcY8GGMUIvcsF6CzLQD1rcLAOLPG1XwhaFoWkP xkUWLi6l704MpyhavzQma8o1GK4+AxUPhWQbX507myRBIQye/QoALq6daL6KUh4KvJ13 A67w== X-Gm-Message-State: AOAM533rWeXzW2IBAWcmWrOYkHOzi9tmWQ1q1ri/wsfyROjAqW3xwQ9w 260JttN49ewI+WmVXrTVyhMQdyhC1uoZnLozrTkRAIBq X-Google-Smtp-Source: ABdhPJxhxZYhl4loQbfotLK4Q5W8vaXvsDLdJrA0qojfGk2TtqHbgWilHYEa0T4QzQSdl4YdD9PzIKjmrKriHvu6R6A= X-Received: by 2002:a05:6402:14c1:b0:42d:d6f1:ac3d with SMTP id f1-20020a05640214c100b0042dd6f1ac3dmr4923858edx.223.1653948797549; Mon, 30 May 2022 15:13:17 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:115122 Archived-At: --===============6766240227850769649== Content-Type: multipart/alternative; boundary="0000000000008e01c705e041f6fe" --0000000000008e01c705e041f6fe Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I've seen this error with zinc compiled from source in github, not with v. 2.10.0 (sourceforge). Later I will try the latest v. 2.11.0. Cheers, L. Montgomery El lun., 30 de mayo de 2022 13:19, Jan-Erik H=C3=A4ggl=C3=B6f via ntg-conte= xt < ntg-context@ntg.nl> escribi=C3=B3: > Hi! > > I have issues to get this to work > > With latest LMTX installed on my Monterey intel MacBook Air and Zint > version 2.11 > > This appears in my log entry > > =E2=80=A6 > optional > using library > '/Users/janneman/CTX/tex/texmf-osx-64/bin/lib/luametatex/zint/libzint.so' > zint > something went wrong: invalid result vector > zint > something went wrong: invalid result vector > zint > something went wrong: invalid result vector > =E2=80=A6 > > > > > > 13 apr. 2022 kl. 00:47 skrev Bruce Horrocks via ntg-context < > ntg-context@ntg.nl>: > > > > > > > >> On 12 Apr 2022, at 21:04, Keith McKay wrote: > >> > >> Hi All > >> I created the symbolic link as suggested by Bruce and Luis and still > got the error message > >> > >> optional > unable to locate library 'libzint' > >> > >> in my text editor. I use TeXworks. However, I thought I would try > running from the Terminal app and it worked. It found libzint and output > the pdf with both barcodes and the qrcode. I have no idea why it works in > the Terminal and not TexWorks, I'm guessing I have a path issue which I > need to investigate. > > > > Could be a path issue - or some other environment variable. This link > should help you decide what needs to go where: > > < > https://unix.stackexchange.com/questions/71253/what-should-shouldnt-go-in= -zshenv-zshrc-zlogin-zprofile-zlogout > > > > > >> Notes > >> 1) My machine is a mac-mini-M1 with macos Monterey and I'm running the > latest ConTeXt version > >> 2) Bruce noted that my Homebrew was installed in a non-standard > location so I checked on the Hombrew website and it is installed in > opt/homebrew for Apple Silicon i.e the M1 chip. Maybe Bruce's homebrew wa= s > installed on an earlier version. > > > > Ah, I'm on an Intel Mac which still uses the old approach. Apologies fo= r > the red herring. > > > >> Thanks to Luis and Bruce for their suggestions. > >> Best Wishes > >> Keith McKay > > > > =E2=80=94 > > Bruce Horrocks > > Hampshire, UK > > > > > _________________________________________________________________________= __________ > > If your question is of interest to others as well, please add an entry > to the Wiki! > > > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > > archive : https://bitbucket.org/phg/context-mirror/commits/ > > wiki : http://contextgarden.net > > > _________________________________________________________________________= __________ > > > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > _________________________________________________________________________= __________ > --0000000000008e01c705e041f6fe Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I've seen this error with zinc compiled from source i= n github, not with v. 2.10.0 (sourceforge). Later I will try the latest v. = 2.11.0.

Cheers,

L. Montgomery

El lun., 30 de may= o de 2022 13:19, Jan-Erik H=C3=A4ggl=C3=B6f via ntg-context <ntg-context@ntg.nl> escribi=C3=B3:
Hi!

I have issues to get this to work

With latest LMTX installed on my Monterey intel MacBook Air and Zint versio= n 2.11

This appears in my log entry

=E2=80=A6
optional=C2=A0 =C2=A0 =C2=A0 =C2=A0 > using library '/Users/janneman= /CTX/tex/texmf-osx-64/bin/lib/luametatex/zint/libzint.so'
zint=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > something went wrong: in= valid result vector
zint=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > something went wrong: in= valid result vector
zint=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > something went wrong: in= valid result vector
=E2=80=A6




> 13 apr. 2022 kl. 00:47 skrev Bruce Horrocks via ntg-context <ntg-co= ntext@ntg.nl>:
>
>
>
>> On 12 Apr 2022, at 21:04, Keith McKay <mckaymeister@gmail.c= om> wrote:
>>
>> Hi All
>> I created the symbolic link as suggested by Bruce and Luis and sti= ll got the error message
>>
>> optional=C2=A0 =C2=A0 =C2=A0 =C2=A0 > unable to locate library = 'libzint'
>>
>> in my text editor. I use TeXworks. However, I thought I would try = running from the Terminal app and it worked. It found libzint and output th= e pdf with both barcodes and the qrcode. I have no idea why it works in the= Terminal and not TexWorks, I'm guessing I have a path issue which I ne= ed to investigate.
>
> Could be a path issue - or some other environment variable. This link = should help you decide what needs to go where:
> <https://unix.stackexchange.com/questions/7125= 3/what-should-shouldnt-go-in-zshenv-zshrc-zlogin-zprofile-zlogout> >
>> Notes
>> 1) My machine is a mac-mini-M1 with macos Monterey and I'm run= ning the latest ConTeXt version
>> 2) Bruce noted that my Homebrew was installed in a non-standard lo= cation so I checked on the Hombrew website and it is installed in opt/homeb= rew for Apple Silicon i.e the M1 chip. Maybe Bruce's homebrew was insta= lled on an earlier version.
>
> Ah, I'm on an Intel Mac which still uses the old approach. Apologi= es for the red herring.
>
>> Thanks to Luis and Bruce for their suggestions.
>> Best Wishes
>> Keith McKay
>
> =E2=80=94
> Bruce Horrocks
> Hampshire, UK
>
> ______________________________________________________________________= _____________
> If your question is of interest to others as well, please add an entry= to the Wiki!
>
> maillist : ntg-context@ntg.nl / ht= tp://www.ntg.nl/mailman/listinfo/ntg-context
> webpage=C2=A0 : http://www.pragma-ade.nl / ht= tp://context.aanhet.net
> archive=C2=A0 : https://bitbucket.o= rg/phg/context-mirror/commits/
> wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
> ______________________________________________________________________= _____________

___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / http://= www.ntg.nl/mailman/listinfo/ntg-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://= context.aanhet.net
archive=C2=A0 : https://bitbucket.org/ph= g/context-mirror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--0000000000008e01c705e041f6fe-- --===============6766240227850769649== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============6766240227850769649==--