Closed JorgeFrias11 closed 1 month ago
How did you install pandoc?
What is the architecture of the machine? (What does uname -a
say?)
I tried installing the DEB and the tarball, but I got the same error in both pandoc (and with previous versions too). The pandoc installation with apt-get install pandoc
works, but it is the outdated 2.17.1.1 version.
Architecture: Linux xmrflin-testing 6.1.0-23-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.99-1 (2024-07-15) x86_64 GNU/Linux
I found a similar issue in the forum #8947.
I am not sure if it is related, but the Xen machine does not show the flag AVX in cat /proc/cpuinfo
, although it is shown in the Xen (host) server. Is this flag required for recent pandoc versions, but not for older ones like 2.17.1.1?
You're right that #8947 seems relevant. Perhaps there will be a clue in that discussion. I believe the avx flag is required by more recent versions of the bytestring library, which we depend on. So there may not be much that I can do at this point.
I installed the pandoc 3.1.6 version and it solved the problem! As mentioned #8947, it seems the AVX instructions were not supported in my system, causing this "Illegal instruction" error. Then I just had to create a link from quarto (/opt/quarto-1.5.57/bin/tools/x86_64/pandoc
) to this pandoc 3.1.6 version.
I have been facing this issue for a couple of weeks now and I am unable to solve it. I'm using pandoc on a Xen server and when I run:
pandoc -o output.html
pandoc -v
pandoc --version
The command works sometimes, but sometimes I get the error
Illegal instruction
. Nothing more. I tried using--verbose
but I still get the same output. I tried with different versions and the most recent version that works is pandoc 2.17.1.1OS: Debian 12 (bookworm) Pandoc version: 2.18 onwards.
I faced the same problem with quarto. It was unable to find the pandoc:
And running the pandoc binary in quarto