LFS-7.0 coreutils-8.14 libexec
I must be doing something wrong, so please someone confirm or refute this: coreutils-8.14 as per the 7.0 book installs /usr/libexec/coreutils/libstdbuf.so. I had to pass --libexecdir=/usr/lib in chaper 6 in order to fix the location as /usr/lib/coreutils/libstdbuf.so. Anyone? IvanK. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
Re: LFS-7.0 coreutils-8.14 libexec
Ivan Kabaivanov wrote: I must be doing something wrong, so please someone confirm or refute this: coreutils-8.14 as per the 7.0 book installs /usr/libexec/coreutils/libstdbuf.so. I had to pass --libexecdir=/usr/lib in chaper 6 in order to fix the location as /usr/lib/coreutils/libstdbuf.so. It is in /usr/libexec/coreutils/libstdbuf.so on my reference system. So far, I haven't run into any problems. Doing a grep for libstdbuf in /usr/bin shows the only application using it is /usr/bin/stdbuf and that knows where it is. I wasn't aware of this. It does seem out of place, but it also doesn't seem to do any harm. Here is a relevant thread: http://comments.gmane.org/gmane.comp.gnu.coreutils.general/1770 If it doesn't go in /usr/libexec/coreutils/, the issue is where does it go? The devs seem to think that it should not be a library directory. The FHS says that /usr/libqual is OK, but I think that is really for /usr/lib64, /usr/lib32, etc. libexec is not mentioned in the FHS. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
Re: LFS-7.0 coreutils-8.14 libexec
On Saturday 12 November 2011 15:28:35 Bruce Dubbs wrote: Ivan Kabaivanov wrote: I must be doing something wrong, so please someone confirm or refute this: coreutils-8.14 as per the 7.0 book installs /usr/libexec/coreutils/libstdbuf.so. I had to pass --libexecdir=/usr/lib in chaper 6 in order to fix the location as /usr/lib/coreutils/libstdbuf.so. It is in /usr/libexec/coreutils/libstdbuf.so on my reference system. So far, I haven't run into any problems. Doing a grep for libstdbuf in /usr/bin shows the only application using it is /usr/bin/stdbuf and that knows where it is. I wasn't aware of this. It does seem out of place, but it also doesn't seem to do any harm. Here is a relevant thread: http://comments.gmane.org/gmane.comp.gnu.coreutils.general/1770 If it doesn't go in /usr/libexec/coreutils/, the issue is where does it go? The devs seem to think that it should not be a library directory. The FHS says that /usr/libqual is OK, but I think that is really for /usr/lib64, /usr/lib32, etc. libexec is not mentioned in the FHS. -- Bruce yeah, it's a strange bird: /usr/lib/coreutils/libstdbuf.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped Looks like a library. The weird thing is that the instructions in chapter 6 (http://www.linuxfromscratch.org/lfs/view/stable/chapter06/coreutils.html) say this in section 6.23.2. Contents of Coreutils: Installed library: libstdbuf.so Installed directory: /usr/lib/coreutils So whoever wrote this seemed to think it belonged in /usr/lib. I'll stick with /usr/lib/coreutils too. IvanK. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
Re: LFS-7.0 coreutils-8.14 libexec
Ivan Kabaivanov wrote: On Saturday 12 November 2011 15:28:35 Bruce Dubbs wrote: Ivan Kabaivanov wrote: I must be doing something wrong, so please someone confirm or refute this: coreutils-8.14 as per the 7.0 book installs /usr/libexec/coreutils/libstdbuf.so. I had to pass --libexecdir=/usr/lib in chaper 6 in order to fix the location as /usr/lib/coreutils/libstdbuf.so. It is in /usr/libexec/coreutils/libstdbuf.so on my reference system. So far, I haven't run into any problems. Doing a grep for libstdbuf in /usr/bin shows the only application using it is /usr/bin/stdbuf and that knows where it is. I wasn't aware of this. It does seem out of place, but it also doesn't seem to do any harm. Here is a relevant thread: http://comments.gmane.org/gmane.comp.gnu.coreutils.general/1770 If it doesn't go in /usr/libexec/coreutils/, the issue is where does it go? The devs seem to think that it should not be a library directory. The FHS says that /usr/libqual is OK, but I think that is really for /usr/lib64, /usr/lib32, etc. libexec is not mentioned in the FHS. -- Bruce yeah, it's a strange bird: /usr/lib/coreutils/libstdbuf.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped Looks like a library. Sorta. It doesn't show up with ldd. The weird thing is that the instructions in chapter 6 (http://www.linuxfromscratch.org/lfs/view/stable/chapter06/coreutils.html) say this in section 6.23.2. Contents of Coreutils: Installed library: libstdbuf.so Installed directory: /usr/lib/coreutils I made a change to that in the description in -dev. Thanks for pointing that out. So whoever wrote this seemed to think it belonged in /usr/lib. I'll stick with /usr/lib/coreutils too. Your distro. :) -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
Re: LFS-7.0 coreutils-8.14 libexec
On 11/12/2011 04:20 PM, Bruce Dubbs wrote: Installed library: libstdbuf.so Installed directory: /usr/lib/coreutils I made a change to that in the description in -dev. Thanks for pointing that out. Unless I've misunderstood the above comment, you should set libexecdir back to /usr/lib/coreutils as this has been standard practice in LFS and BLFS for as far back as I can remember (/usr/lib/packagename). There are several examples in BLFS for sure, and in both books IIRC. -- DJ Lucas -- This message has been scanned for viruses and dangerous content, and is believed to be clean. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
Re: LFS-7.0 coreutils-8.14 libexec
DJ Lucas wrote: On 11/12/2011 04:20 PM, Bruce Dubbs wrote: Installed library: libstdbuf.so Installed directory: /usr/lib/coreutils I made a change to that in the description in -dev. Thanks for pointing that out. Unless I've misunderstood the above comment, you should set libexecdir back to /usr/lib/coreutils as this has been standard practice in LFS and BLFS for as far back as I can remember (/usr/lib/packagename). There are several examples in BLFS for sure, and in both books IIRC. Yes, but I don't think it's come up before with coreutils. It was easier to change the description for now than the instruction. This was just brought up today and I'd like it to percolate a bit. As I said earlier, it seems to be mostly an aesthetic issue, not a practical one. I don't have strong feelings about this either way. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page