Changes between Version 5 and Version 6 of Ticket #123


Ignore:
Timestamp:
Jul 16, 2008, 7:13:40 AM (16 years ago)
Author:
William Harrington
Comment:

Replying to kb0iic:

Replying to Moody:

In chapter 10.7.4 (Configuring the dynamic linker) there is /lib/ld-linux.so.2 named as default linker, mostly true but not on PPC systems. There it should read as /lib/ld.so.1, isn't it?

This section no longer exists and I don't see anywhere in the book where it talks about default linker. It is now in section 10.8.4. I confirm ld.so.1 for this ppc and ppc64, and no other architecture. If anyone else has no objections, the book text should read:

By default, the 32bit dynamic loader (/lib/ld.so.1) searches through /lib, /usr/lib, and the 64bit dynamic loader (/lib64/ld64.so.1) searches through /lib64, /usr/lib64 for dynamic libraries that are needed by programs as they are run. However, if there are libraries in directories other than these, they need to be added to the /etc/ld.so.conf file in order for the dynamic loader to find them. Some directories that are commonly known to contain additional libraries are /usr/local/lib, /usr/local/lib64, /opt/lib, and /opt/lib64, so add those directories to the dynamic loader's search path.

Someone else may suggest a better structure for the entry in the book, but that is the proper way it should read for ppc64 multilib. As it is now seems pretty correct for ppc except ld-linux.so.2 should read ld.so.1 for the default linker.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #123

    • Property Summary PPC: Textual blur in 10.7.4 (Cfg dynlinker)PPC: Textual blur in 10.7.4 (32bit) and 10.8.4 (Multilib) (Cfg dynlinker)
  • Ticket #123 – Description

    v5 v6  
    1 As far as I know, slackintosh is using ld.so.1.
    2 Gentoo I didn't look at but I'm sure is, the slackintosh
    3 mailing list mentions that most all distros are using ld.so.1.
    4 
    5 ld.so.1 probably existed for x86 in the real early ld days, but
    6 most everything but ppc/ppc64 is using ld-linux.so.2
    7 
    8 There are ways to get ppc and ppc64 to use ld-linux.so.2 instead, but that isn't needed. It may change in the future that ppc and ppc64 will move to ld-linux.so.2.
    9 
    10 For the book, the default is ld.so.1.
    11 
    12 I've never encountered a ppc build, yet, that doesn't use ld.so.1.
     1In chapter 10.7.4 of 32 bit powerpc book and chapter 10.8.4 of ppc64 multilib book (Configuring the dynamic linker) there is /lib/ld-linux.so.2 named as default linker, mostly true but not on PPC systems. There it should read as /lib/ld.so.1 and/or /lib64/ld64.so.