Adam Ryczkowski
2013-Mar-20 09:09 UTC
Problem with building instructions for btrfs-tools in https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories
There is a missing dependency: liblzo2-dev Without it, the make fails with: ~/tmp$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git ~/tmp$ cd btrfs-progs ~/tmp/btrfs-progs$ sudo apt-get install uuid-dev libattr1-dev zlib 1g-dev libacl1-dev e2fslibs-dev libblkid-dev ~/tmp/btrfs-progs$ make [CC] ctree.o [CC] disk-io.o [CC] radix-tree.o [CC] extent-tree.o [CC] print-tree.o [CC] root-tree.o [CC] dir-item.o [CC] file-item.o [CC] inode-item.o [CC] inode-map.o [CC] extent-cache.o [CC] extent_io.o [CC] volumes.o [CC] utils.o [CC] btrfs-list.o [CC] repair.o [CC] send-stream.o [CC] send-utils.o [CC] qgroup.o [CC] raid6.o [CC] rbtree.o [CC] crc32c.o [LN] libbtrfs.so.0 [LN] libbtrfs.so [LD] libbtrfs.so.0.1 /usr/bin/ld: cannot find -llzo2 collect2: error: ld returned 1 exit status make: *** [libbtrfs.so.0.1] Error 1 I suggest to make amendment to the wiki and add a "liblzo2-dev" to the apt-get line for Ubuntu/Debian. -- Adam Ryczkowski +48505919892 <callto:+48505919892> Skype:sisteczko <skype:sisteczko> -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Gabriel de Perthuis
2013-Mar-20 09:47 UTC
Re: Problem with building instructions for btrfs-tools in https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories
> There is a missing dependency: liblzo2-dev> I suggest to make amendment to the wiki and add a "liblzo2-dev" to the > apt-get line for Ubuntu/Debian.Added. Other distros may need some additions too. Anyone can edit the wiki, as the spambots will attest; a ConfirmEdit captcha at signup would be nice. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Reasonably Related Threads
- BTRFS in laptop-mode
- Poor performance of btrfs. Suspected unidentified btrfs housekeeping process which writes a lot
- btrfs send & receive produces "Too many open files in system"
- tinc on Fedora
- Error when compiling tinc 1.1pre3 - configure: error: "curses header files not found."