rabite0 / hunter

The fastest file manager in the galaxy!
Do What The F*ck You Want To Public License
1.31k stars 64 forks source link

State dependency on libmagic #3

Closed jimrybarski closed 5 years ago

jimrybarski commented 5 years ago

Compilation on Xubuntu 18.04 failed due to a missing library:

= note: /usr/bin/ld: cannot find -lmagic
       collect2: error: ld returned 1 exit status

Installing the libmagic-dev package allowed compilation to succeed. I suggest putting all the non-Rust dependencies in the readme.

steveslatky commented 5 years ago

Yup, solved it for me.

@rabite0 You mind if I submit a pull request to add to the readme for a short installation guide?

rabite0 commented 5 years ago

Thanks for reporting. Quite unfortunate, since right now it's actually only used to check if a file is plain text. Not sure if it's possible to check for that easily, though.

@steveslatky No, I'm actually quite happy that people want to help out, so feel free to do so.

mfornet commented 5 years ago

I added symlink libmagic.so.1 to libmagic.so. From this answer in stackoverlfow.

rabite0 commented 5 years ago

Is this resolved? I'm not sure...

rabite0 commented 5 years ago

If there is more that can be done about this, feel free to reopen.