Opened 14 years ago

Closed 14 years ago

#2566 closed defect (invalid)

Chapter 6.9.1 error with the readelf -l

Reported by: kev-in Owned by: lfs-book@…
Priority: normal Milestone:
Component: Errata Version: SVN
Severity: normal Keywords: readelf -l
Cc:

Description

in the chater 6.9.1 when you force scrit to force glibc with:

DL=$(readelf -l /bin/sh | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')

you can do an error like :

bash: command substitution: line 219: syntax error near unexpected token `)'

bash: command substitution: line 219: `readelf -l /bin/sh | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')'

if you see that just change the () by the double qote

Change History (1)

comment:1 by chris@…, 14 years ago

Resolution: invalid
Status: newclosed

This is caused by user error. When Bash is built correctly it recognizes $() with no problems. Feel free to ask about this issue on the lfs-support mailing list.

Note: See TracTickets for help on using tickets.