Texlive-full and Pandoc

System:
Kernel: 5.18.10-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=e08ba235-2d5b-4752-aa8a-d6235cb506f3 rw rootflags=subvol=@
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=7b1d8874-5890-4209-abcb-ae4c25bdcc93 loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.25.3 tk: Qt v: 5.15.5 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop Mobo: Micro-Star model: B450M PRO-M2 MAX (MS-7B84) v: 2.0
serial: <superuser required> UEFI: American Megatrends v: A.70
date: 06/10/2020
CPU:
Info: model: AMD Ryzen 7 3800X bits: 64 type: MT MCP arch: Zen 2 gen: 3
built: 2020-22 process: TSMC n7 (7nm) family: 0x17 (23)
model-id: 0x71 (113) stepping: 0 microcode: 0x8701021
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
L3: 32 MiB desc: 2x16 MiB
Speed (MHz): avg: 3609 high: 4069 min/max: 2200/4559 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 3670 2: 3601
3: 3596 4: 3591 5: 3563 6: 4069 7: 3585 8: 3562 9: 3622 10: 3600 11: 3344
12: 3587 13: 3581 14: 3565 15: 3609 16: 3599 bogomips: 124801
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Retpolines, IBPB: conditional, STIBP: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA TU117 [GeForce GTX 1650] driver: nvidia v: 515.57
alternate: nouveau,nvidia_drm non-free: 515.xx+
status: current (as of 2022-06) arch: Turing process: TSMC 12nm
built: 2018-22 pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 29:00.0
chip-ID: 10de:1f82 class-ID: 0300
Device-2: Sunplus Innovation FULL HD webcam type: USB
driver: snd-usb-audio,uvcvideo bus-ID: 1-5:3 chip-ID: 1bcf:2283
class-ID: 0102 serial: <filter>
Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3
compositor: kwin_x11 driver: X: loaded: nvidia unloaded: modesetting
alternate: fbdev,nouveau,nv,vesa gpu: nvidia display-ID: :0 screens: 1
Screen-1: 0 s-res: 4920x2160 s-dpi: 156 s-size: 801x352mm (31.54x13.86")
s-diag: 875mm (34.45")
Monitor-1: DP-0 pos: primary,right res: 3840x2160 hz: 60 dpi: 161
size: 607x345mm (23.9x13.58") diag: 698mm (27.49") modes: N/A
Monitor-2: DP-2 pos: primary,left res: 1080x1920 hz: 60 dpi: 96
size: 286x509mm (11.26x20.04") diag: 584mm (22.99") modes: N/A
OpenGL: renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
v: 4.6.0 NVIDIA 515.57 direct render: Yes
Audio:
Device-1: NVIDIA driver: snd_hda_intel v: kernel bus-ID: 1-2:5 pcie:
chip-ID: 18d1:4ee8 gen: 3 class-ID: 0103 speed: 8 GT/s lanes: 16
serial: <filter> bus-ID: 29:00.1 chip-ID: 10de:10fa class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 2b:00.4 chip-ID: 1022:1487 class-ID: 0403
Device-3: Google Nexus/Pixel Device (MIDI) type: USB
driver: snd-usb-audio
Device-4: Sunplus Innovation FULL HD webcam type: USB
driver: snd-usb-audio,uvcvideo bus-ID: 1-5:3 chip-ID: 1bcf:2283
class-ID: 0102 serial: <filter>
Sound Server-1: ALSA v: k5.18.10-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 16.1 running: no
Sound Server-3: PipeWire v: 0.3.55 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: f000 bus-ID: 25:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp37s0 state: up speed: 100 Mbps duplex: full mac: <filter>
IF-ID-1: br-657335f7a75a state: down mac: <filter>
IF-ID-2: docker0 state: down mac: <filter>
Bluetooth:
Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
bus-ID: 1-3:2 chip-ID: 0bda:8771 class-ID: e001 serial: <filter>
Report: bt-adapter ID: hci0 rfk-id: 0 state: down
bt-service: enabled,running rfk-block: hardware: no software: no
address: <filter>
Drives:
Local Storage: total: 5.46 TiB used: 260.26 GiB (4.7%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Kingston model: SA2000M81000G
size: 931.51 GiB block-size: physical: 512 B logical: 512 B
speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: S5Z42105
temp: 45.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 4B6Q scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST4000DM004-2CV104
size: 3.64 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
type: HDD rpm: 5425 serial: <filter> rev: 0001 scheme: GPT
Partition:
ID-1: / raw-size: 175.44 GiB size: 175.44 GiB (100.00%)
used: 58.02 GiB (33.1%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:7
ID-2: /boot/efi raw-size: 350.3 MiB size: 349.5 MiB (99.80%)
used: 576 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p4 maj-min: 259:4
ID-3: /home raw-size: 273.44 GiB size: 273.44 GiB (100.00%)
used: 202.24 GiB (74.0%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
ID-4: /var/log raw-size: 175.44 GiB size: 175.44 GiB (100.00%)
used: 58.02 GiB (33.1%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:7
ID-5: /var/tmp raw-size: 175.44 GiB size: 175.44 GiB (100.00%)
used: 58.02 GiB (33.1%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:7
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 31.3 GiB used: 21.5 MiB (0.1%)
priority: 100 dev: /dev/zram0
ID-2: swap-2 type: partition size: 15.82 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p5 maj-min: 259:5
Sensors:
System Temperatures: cpu: N/A mobo: N/A gpu: nvidia temp: 46 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 31%
Info:
Processes: 439 Uptime: 1h 59m wakeups: 0 Memory: 31.3 GiB
used: 13.42 GiB (42.9%) Init: systemd v: 251 default: graphical
tool: systemctl Compilers: gcc: 12.1.0 alt: 11 clang: 14.0.6 Packages:
pacman: 2218 lib: 554 Shell: fish v: 3.4.1 default: Bash v: 5.1.16
running-in: konsole inxi: 3.3.19
Garuda (2.6.5-1):
System install date:     2022-06-07
Last full system update: 2022-07-13 ↻
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       Probably (Run as root to verify)
Snapshots:               Snapper
Failed units:

I recently installed:
https://aur.archlinux.org/packages/texlive-full

However, I also use pandoc, which has haskell-citeproc as a dependency.texlive-full provides haskell-citeproc, which is why it should be fine running pandoc in an installation with texlive-full, without having to worry about haskell-citeproc; not the case here.

citeproc is used for bibliography, so when I try to run:

pandoc -s abstract.tex --citeproc --bibliography=abstract.bib -o main.docx

I get:

pandoc: error while loading shared libraries: libHSciteproc-0.7-EQGOLZMoJ4pEvFqsVgDGMq-ghc9.0.2.so: cannot open shared object file: No such file or directory

Which means pandoc cannot find citeproc. As mentioned, I have citeproc (installed as haskell-citeproc):

[🔍] × which citeproc
/usr/bin/citeproc

When I roll back the texlive-full install, the pandoc command runs fine. I have tried to reinstall pandoc after installing texlive-full, didn't help.

Actually, in this case it means it can’t find the correct version of the shared library.

Arch repo Haskell packages are compiled with specific dependency versions and so can’t be used with other non-repo Haskell libraries.

So, if you want to use pandoc from the repo then you have to use haskell-citeproc from the repo (or, potentially, rebuild texlive-full against the exact same library version as is in the repo).

4 Likes

@caniko texlive-full is available on Chaotic-AUR, you might want to use that version to reduce the load on your machine for updates. I just added pandoc-bin to Chaotic, it will hopefully solve your problem.

5 Likes

Are the minors and patches that different from each other? The pandoc AUR package could be a little less strict, and only specify a major version of citeproc, right?

Thanks! I’ll use this for now!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.