I'm building an LFS system, and I've gotten to this page, but when I run make it says:

make[2]: Entering directory '/sources/e2fsprogs-1.42.13/build/e2fsck'
LD e2fsck
/usr/bin/ld: journal.o: undefined reference to symbol 'uuid_unparse@@UUID_1.0'
../lib/libuuid.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:409: recipe for target 'e2fsck' failed
make[2]: *** [e2fsck] Error 1
make[2]: Leaving directory '/sources/e2fsprogs-1.42.13/build/e2fsck'
Makefile:383: recipe for target 'all-progs-recursive' failed
make[1]: *** [all-progs-recursive] Error 1
make[1]: Leaving directory '/sources/e2fsprogs-1.42.13/build'
Makefile:319: recipe for target 'all' failed
make: *** [all] Error 2

I found this github issue: https://github.com/garlik/4store/issues/75 but I don't know if that applies to this or not.

What's going wrong here, and how can fix this?

DSO missing from command line


From what I read here it sounds like it has something to do with the dynamic linker .

On this page, it says:

First, backup the /tools linker, and replace it with the adjusted linker we made in chapter 5. We'll also create a link to its counterpart in /tools/$(gcc -dumpmachine)/bin:

Was there something I was suppose to do at that point besides running the commands listed on the page?

  • Anyone know whats going on? I'm still stuck and would really like to continue
    – Keith M
    Commented Oct 28, 2015 at 23:46

1 Answer 1


This may be a problem if building e2fsprogs with libuuid and libblkid from util-linux without setting up the pkg-config environment properly:

export PKG_CONFIG_LIBDIR=${SYSROOT}/usr/lib/pkgconfig:${SYSROOT}/usr/share/pkgconfig

Please also refer to the Autotool Cross Build Reference.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .