* Problem with building instructions for btrfs-tools in https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories
@ 2013-03-20 9:09 Adam Ryczkowski
2013-03-20 9:47 ` Gabriel de Perthuis
0 siblings, 1 reply; 2+ messages in thread
From: Adam Ryczkowski @ 2013-03-20 9:09 UTC (permalink / raw)
To: linux-btrfs
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problem with building instructions for btrfs-tools in https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories
2013-03-20 9:09 Problem with building instructions for btrfs-tools in https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories Adam Ryczkowski
@ 2013-03-20 9:47 ` Gabriel de Perthuis
0 siblings, 0 replies; 2+ messages in thread
From: Gabriel de Perthuis @ 2013-03-20 9:47 UTC (permalink / raw)
To: linux-btrfs
> 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-03-20 9:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-20 9:09 Problem with building instructions for btrfs-tools in https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories Adam Ryczkowski
2013-03-20 9:47 ` Gabriel de Perthuis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).