From: Adam Ryczkowski <adam.ryczkowski@statystyka.net>
To: linux-btrfs@vger.kernel.org
Subject: Problem with building instructions for btrfs-tools in https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories
Date: Wed, 20 Mar 2013 10:09:54 +0100 [thread overview]
Message-ID: <51497CE2.308@statystyka.net> (raw)
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>
next reply other threads:[~2013-03-20 9:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-20 9:09 Adam Ryczkowski [this message]
2013-03-20 9:47 ` Problem with building instructions for btrfs-tools in https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories Gabriel de Perthuis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51497CE2.308@statystyka.net \
--to=adam.ryczkowski@statystyka.net \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.