Opened 17 years ago

Last modified 16 years ago

#123 closed enhancement

PPC: Textual blur in 10.7.4 (32bit) and 10.8.4 (Multilib) (Cfg dynlinker) — at Version 6

Reported by: Thomas Owned by: ken
Priority: minor Milestone: CLFS Standard 1.1.0
Component: BOOK Version: CLFS Standard 1.1.0
Keywords: Cc:

Description (last modified by William Harrington)

In 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.

Change History (6)

comment:1 by Joe Ciccone, 17 years ago

Milestone: CLFS Standard 1.1.0
Version: CLFS Standard 1.1.0

comment:2 by ken, 17 years ago

Owner: changed from clfs-commits@… to ken
Status: newassigned

This sounds as if it might affect other arches too. I'll take a look.

comment:3 by Joe Ciccone, 17 years ago

Sparc64 and Sparcv9 use ld-linux.so.2. Alpha uses ld-linux.so.2 x86 uses ld-linux.so.2 x86_64 uses ld-linux-x86-64.so.2

comment:4 by Joe Ciccone, 16 years ago

This has gone a while without any changes, what's the status of it?

in reply to:  description ; comment:5 by William Harrington, 16 years ago

Description: modified (diff)

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?

in reply to:  5 comment:6 by William Harrington, 16 years ago

Description: modified (diff)
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)

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.

Note: See TracTickets for help on using tickets.