Re: [lfs-support] Non-working programs during LFS due to libraries in /tools

2018-02-12 Thread Tim Tassonis
On 02/12/2018 08:04 PM, Bruce Dubbs wrote: Tim Tassonis wrote: Hi all I noticed that during LFS build, some programs will not work after they are installed, because their libraries are in /tools/lib and /tools/lib is not in the search path of the dynamic linker. An example is e2fsprogs,

Re: [lfs-support] Non-working programs during LFS due to libraries in /tools

2018-02-12 Thread Bruce Dubbs
Tim Tassonis wrote: Hi all I noticed that during LFS build, some programs will not work after they are installed, because their libraries are in /tools/lib and /tools/lib is not in the search path of the dynamic linker. An example is e2fsprogs, ldd on /bin/chattr results in:

Re: [lfs-support] Problems with su when building LFS

2018-02-12 Thread Tim Tassonis
On 02/12/2018 07:31 PM, Pierre Labastie wrote: On 12/02/2018 18:54, Pierre Labastie wrote: On 11/02/2018 23:01, Tim Tassonis wrote: On 02/11/2018 10:37 PM, Bruce Dubbs wrote: Tim Tassonis wrote: I have found a workaround for my problem: If I replace mount -vt devpts devpts $LFS/dev/pts

[lfs-support] Non-working programs during LFS due to libraries in /tools

2018-02-12 Thread Tim Tassonis
Hi all I noticed that during LFS build, some programs will not work after they are installed, because their libraries are in /tools/lib and /tools/lib is not in the search path of the dynamic linker. An example is e2fsprogs, ldd on /bin/chattr results in: linux-vdso.so.1

Re: [lfs-support] Problems with su when building LFS

2018-02-12 Thread Pierre Labastie
On 12/02/2018 18:54, Pierre Labastie wrote: > On 11/02/2018 23:01, Tim Tassonis wrote: >> On 02/11/2018 10:37 PM, Bruce Dubbs wrote: >>> Tim Tassonis wrote: >>> I have found a workaround for my problem: If I replace mount -vt devpts devpts $LFS/dev/pts -o gid=5,mode=620

Re: [lfs-support] Problems with su when building LFS

2018-02-12 Thread Pierre Labastie
On 11/02/2018 23:01, Tim Tassonis wrote: > On 02/11/2018 10:37 PM, Bruce Dubbs wrote: >> Tim Tassonis wrote: >> >>> I have found a workaround for my problem: >>> >>> If I replace >>> >>> mount -vt devpts devpts $LFS/dev/pts -o gid=5,mode=620 >>> >>> with >>> >>> mount -v --bind /dev/pts

Re: [lfs-support] Step 6.9: error: missing __attribute__ ((constructor)) support

2018-02-12 Thread Pierre Labastie
On 12/02/2018 13:45, René Nyffenegger wrote: > I am following the "current stable" version according to "Read Online" > (http://www.linuxfromscratch.org/lfs/read.html) > > I am trying to build LFS on Ubuntu 17.10, 64 Bit Intel. > > > On 12.02.2018 12:28, Pierre Labastie wrote: >> On 12/02/2018

Re: [lfs-support] Step 6.9: error: missing __attribute__ ((constructor)) support

2018-02-12 Thread René Nyffenegger
I am following the "current stable" version according to "Read Online" (http://www.linuxfromscratch.org/lfs/read.html) I am trying to build LFS on Ubuntu 17.10, 64 Bit Intel. On 12.02.2018 12:28, Pierre Labastie wrote: > On 12/02/2018 11:34, René Nyffenegger wrote: >> In Step 6.9 >>

Re: [lfs-support] Step 6.9: error: missing __attribute__ ((constructor)) support

2018-02-12 Thread Pierre Labastie
On 12/02/2018 11:34, René Nyffenegger wrote: In Step 6.9 (http://www.linuxfromscratch.org/lfs/view/stable/chapter06/glibc.html) I get the following error when I run the ../configure script: checking whether to use .ctors/.dtors header and trailer... configure: error: missing __attribute__

Re: [lfs-support] Problems with su when building LFS

2018-02-12 Thread Thomas Seeling
Hallo, > su: must be run from a terminal what are the defaults in your sudo.conf? Have you switched on requiretty? You could selectively (or globally) switch it off. Defaults:timtas !requiretty Tschau...Thomas -- "Do you wanna be a legend or a passing footprint on the sands of time?"