[lfs-dev] Putting a copy util-linux in /tools
krejzi at email.com
Sat Jan 18 14:59:04 PST 2014
On 18.1.2014 23:04, Bruce Dubbs wrote:
> Armin K. wrote:
>> Well if it works, why not then. Just one minor suggestion below
>>> Chapter 6: e2fsprogs
>>> mkdir -v build
>>> cd build
>>> export LD_LIBRARY_PATH=/tools/lib
>>> LDFLAGS="-L /tools/lib -luuid -lblkid" \
>>> CFLAGS="-I /tools/include" \
>>> ../configure --prefix=/usr \
>>> --with-root-prefix="" \
>>> --enable-elf-shlibs \
>>> --disable-libblkid \
>>> --disable-libuuid \
>>> --disable-uuidd \
>> Can't you just symlink the libraries to /lib as it's being done with
>> several other libraries/binaries?
> That's possible, but when? In Chapter 5 we haven't created the
> directories in the chroot / yet. Doing that in Chapter 5 breaks up the
> flow of Chapter 6.
No, no. You got me wrong. I was asking about util-linux libraries,
libblkid, libuuid and libmount to be symlinked to /lib to avoid usage of
LD_LIBRARY_PATH since it isn't used anywhere else.
Same is currently being done at the beginning of chapter6 for
libgcc_s.so and libstdc++.so.
> That said, moving both udev and util-linux to before e2fsprogs in
> Chapter 6 may simplify things. I'll try that.
> -- Bruce
That was indeed my original suggestion, but that would make my life
painful for systemd counterpart since I can't move systemd before
util-linux unless I change the order of everything :|
More information about the lfs-dev