Opened 13 years ago

Closed 13 years ago

#3038 closed defect (worksforme)

util-linux 2.21 doesn't install expected libraries

Reported by: Mathias Gibbens Owned by: lfs-book@…
Priority: normal Milestone: 7.2
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

I am working through the LFS book (version SVN-20120311) and got to section 6.23 E2fsprogs-1.42. The configure step failed with "error: C compiler cannot create executables". I tracked it down to LDFLAGS="-lblkid -luuid" being set for the configure script. The blkid library wasn't in /usr/lib/.

Went back to section 6.21 Util-linux-2.21 and added an explicit location for util-linux to install itself and its libraries to:

./configure --prefix=/usr --libdir=/usr/lib

After recompiling util-linux, e2fsprogs compiled and installed just fine.

Change History (1)

comment:1 by bdubbs@…, 13 years ago

Resolution: worksforme
Status: newclosed

This type of problem should be discussed on lfs-support before creating a ticket.

Note: See TracTickets for help on using tickets.