Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 10-15-2020, 09:11 PM   #1
LQ Newbie
Registered: Oct 2020
Posts: 1

Rep: Reputation: Disabled
Stuck in Installation of Util-Linux-2.36

I am currently trying to follow LFS 10.0 and I am stuck on:
7.13.1. Installation of Util-linux

When I try to run `make` I get:

CCLD more

/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: error: /usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../lib/ read: Is a directory

collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:7349: more] Error 1
make[2]: Leaving directory '/sources/util-linux-2.36'
make[1]: *** [Makefile:13634: all-recursive] Error 1
make[1]: Leaving directory '/sources/util-linux-2.36'
make: *** [Makefile:5854: all] Error 2

Quite not sure where to go from here. Any inputs?
Old 10-19-2020, 07:43 PM   #2
Senior Member
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora,Xubuntu, others
Posts: 4,816

Rep: Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853
/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../lib/ read: Is a directory
Is /usr/lib/ on the lfs system a directory? If so that is the problem. Maybe one of the commands at the end of 6.3 wasn't entered correctly

Last edited by colorpurple21859; 10-19-2020 at 07:45 PM.
Old 10-22-2020, 08:20 AM   #3
LQ Newbie
Registered: Aug 2020
Posts: 12

Rep: Reputation: Disabled
I also have got error in same step.

I am using Ubuntu 16 vm for building LFS 10.0 version. A present I am section in 7.13 Util-linux-2.36 after doing chroot. When I try to install Util-linux-2.36 I get following error.
make[2] Leaving directory /build/sources/util-linux/util-linux-2.36/po
make[2] Entering directory /build/sources/util-linux/util-linux-2.36/
CC lib/libcommon_la-sysfs.lo
CCLD more
/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../..x86_64-lfs-linux-gnu/bin/ld: cannot find -lncursesw
collect2:error:ld returned 1 exit status
make[2] (Makefile :7349 more] Error 1

I tried reinstall few times but the issue remains same. I have checked section 6.3 ncurses-6.2 also.
May I know how to troubleshoot this issue.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding out all installed apps/soft/util on curr instal - for re-installation cilbuper Linux - General 1 11-13-2015 04:40 AM
[SOLVED] Are the programs in util-linux the same version as those in util-linux-ng? harryhaller Slackware - Installation 2 10-07-2011 09:43 AM
bluez util and openobex installation megha6788 Linux - Newbie 1 09-21-2008 05:59 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration