emk / subtitles-rs

Use SRT subtitle files to study foreign languages (in progress)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't build latest version on Linux Mint

rdearman opened this issue · comments

error: could not find native static library uchardet, perhaps an -L flag is missing?

Build failed, waiting for other jobs to finish...
error: failed to compile substudy v0.4.1-pre.1, intermediate artifacts can be found at /tmp/cargo-install.tvoajIvp9IEE

Caused by:
Could not compile uchardet-sys.

To learn more, run the command again with --verbose.

hummm... I thought the problem might be I'm using a 64 bit machine? I could only find the library uchardet in /usr/lib/x86_64-linux-gnu/

So after a lot of mucking about I eventually found the problem and this fixed the problem:

sudo apt-get install uchardet libuchardet-dev

Might want to add to the instructions.