On 05/24/2014 11:14 PM, Bruce Dubbs wrote:
Frans de Boer wrote:
FHS-thoughts

Reading File Hierarchy Standard (FHS) version 2.3 leaves a double
feeling regarding their standardization effort.

The next version is coming very slowly, but I'm monitoring it:

http://www.linuxbase.org/betaspecs/fhs/fhs.html

3.10. /lib<qual> : Alternate format essential shared libraries (optional)

This is commonly used for 64-bit or 32-bit support on systems which
support multiple binary formats, but require libraries of the same name.
In this case, /lib32 and /lib64 might be the library directories, and
/lib a symlink to one of them.

LFS is compliant in this area.  In fact, I don't know where it is not
compliant, but I haven't done a comprehensive review lately.

   -- Bruce

Ok, there is something brewing. Also, I was not clear enough, it seems, but as one notice, I did not use a leading forward slash. As such I tried to make it clear that I meant /lib as well as /usr/lib etc.

However, I can't say that the new version read more easy, but it is now clear that:
        /usr/lib is the machine default library
        /usr/lib<qual> is used for an alternative binary format.

So an 64-bit machine does not have the /usr/lib64 anymore but can have a /usr/lib32 directory. Also, /usr/lib64 is not a symlink either too. It does not exist anymore on an 64-bit machine. This implies adding the --libdir=/usr/lib at places where otherwise the /usr/lib64 directory is being assumed by the current packages.

It is a bit disappointing that the former rules for the /lib and /lib<qual> are still followed. It would be better to have the same rules as used for /usr/lib etc. govern the root based structure too.

The confusing/contradicting chapter 6.1.5 is removed and replaced by something unrelated.

So, looking at the current FHS-document it seems that LFS is mostly in sync, except for the use of the /usr/lib64 symlink.

Bruce, thanks for your reply and like to hear your thoughts about it again.

Regards, Frans.
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to