Opened 21 years ago

Closed 21 years ago

Last modified 21 years ago

#711 closed defect (duplicate)

LFS 5.0pre3 LD_RUN_PATH causes glibc compile to fail

Reported by: lfs@… Owned by: lfs-book@…
Priority: lowest Milestone:
Component: Book Version: CVS
Severity: minor Keywords:
Cc:

Description

In chapter05/settingenvironment.html, the LD_RUN_PATH environment variable should be added to the list of things to unset. If LD_RUN_PATH is set, it will cause ld.so to be built with a compiled-in RPATH, which will cause the assert() at line 161 of glibc-2.3.2/elf/dynamic-link.h:

assert (info[DT_RPATH] == NULL);

to fail.

Change History (2)

comment:1 by greg@…, 21 years ago

I'll take your word for it.

Rather than add yet another variable to the ever-growing list of variables to unset, I suspect the real fix is to start with a proper "real" clean environment.

comment:2 by gerard@…, 21 years ago

Resolution: duplicate
Status: newclosed

Marking as duplicate of Bug #714 which I will modify a bit summary wise.

* This bug has been marked as a duplicate of 714 *

Note: See TracTickets for help on using tickets.