asciidoctor / asciidoctor-mathematical

An extension for Asciidoctor that converts the content of STEM blocks and inline macros using Mathematical.
MIT License
50 stars 45 forks source link

Added required libs for Ubuntu build #119

Open sittim opened 1 year ago

sittim commented 1 year ago

I had to install this on Ubuntu 22.04 and spent hours looking for the libs. I was getting errors below, and installing these libs fixed the issue.

linking shared-object mathematical/mathematical.so
/usr/bin/ld: cannot find -lwebp: No such file or directory
/usr/bin/ld: cannot find -lzstd: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:262: mathematical.so] Error 1

make failed, exit code 2

Gem files will remain installed in /var/lib/gems/3.0.0/gems/mathematical-1.6.14 for inspection.
Results logged to /var/lib/gems/3.0.0/extensions/x86_64-linux/3.0.0/mathematical-1.6.14/gem_make.out