Opened 15 years ago
Closed 15 years ago
#2566 closed defect (invalid)
Chapter 6.9.1 error with the readelf -l
Reported by: | kev-in | Owned by: | |
---|---|---|---|
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
Note:
See TracTickets
for help on using tickets.
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.