wellbehavedsoftware / btrfs-dedupe

MIT License
31 stars 5 forks source link

Undocumented dependency on Ubuntu: liblzo2-dev #3

Open leijurv opened 5 years ago

leijurv commented 5 years ago
  = note: /usr/bin/ld: cannot find -llzo2                                                                                              
          /usr/bin/ld: cannot find -llzo2                                                                                              
          /usr/bin/ld: cannot find -llzo2                                                                                              
          collect2: error: ld returned 1 exit status                                                                                   

error: aborting due to previous error                                                                                                  

error: failed to compile `btrfs-dedupe v1.0.2`, intermediate artifacts can be found at `/tmp/cargo-installaQDMzu`                      

Caused by:
  Could not compile `btrfs-dedupe`.

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

Trying to build on Ubuntu 18 fails with the above error unless liblzo2-dev is installed. This dependency should be documented (or ideally added as an actual dependency).

urevic commented 4 years ago

Addtionally to liblzo2-dev I had to install zlib1g-dev on Ubuntu 18.04 (current LTS).