Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#123 closed enhancement (fixed)

PPC: Textual blur in 10.7.4 (32bit) and 10.8.4 (Multilib) (Cfg dynlinker)

Reported by: Thomas Owned by: Joe Ciccone
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 (8)

comment:1 Changed 13 years ago by Joe Ciccone

Milestone: CLFS Standard 1.1.0
Version: CLFS Standard 1.1.0

comment:2 Changed 13 years ago by ken

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 Changed 13 years ago by Joe Ciccone

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 Changed 13 years ago by Joe Ciccone

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

comment:5 in reply to:  description ; Changed 13 years ago by William Harrington

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?

comment:6 in reply to:  5 Changed 13 years ago by William Harrington

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.

comment:7 Changed 12 years ago by Joe Ciccone

Owner: changed from ken to Joe Ciccone
Status: assignednew

The ldso names on the following archs are:

x86ld-linux.so.2
x86_64ld-linux-x86-64.so.2
x86_64-64ld-linux-x86-64.so.2
ppcld.so.1
ppc64ld64.so
sparcld-linux.so.2
sparc64ld-linux.so.2
sparc64-64ld-linux.so.2
alphald-linux.so.2
mipsld.so.1
mips64ld.so.1
mips64-64ld.so.1

Reassigning this to myself to update right now

comment:8 Changed 12 years ago by Joe Ciccone

Resolution: fixed
Status: newclosed

fixed in r3981

Note: See TracTickets for help on using tickets.