Opened 9 years ago

Closed 9 years ago

#1067 closed task (fixed)

Libpipeline 1.4.1

Reported by: William Harrington Owned by: clfs-commits@…
Priority: major Milestone: CLFS Standard 3.1.0
Component: BOOK Version: CLFS Standard GIT
Keywords: Cc: berzerkula@…, jonathan@…, chris@…

Description

Change History (4)

comment:1 by William Harrington, 9 years ago

Just like with KBD, the test binaries may need to be built with rpath so that it will run with the check library:

sed -i 's/LDFLAGS\ =/&\ -Wl,-rpath,\/tools\/lib/' tests/Makefile

Any others experiencing check failing because the test binaries aren't finding libcheck, post here. I did narrow down my search paths in LD from final system binutils. Only to /lib and /usr/lib:

strings /usr/bin/ ld | grep SEARCHD_DIR

SEARCH_DIR("/usr/x86_64-berzerkula-linux-gnu/lib"); SEARCH_DIR("/usr/local/lib"); SEARCH_DIR("/lib"); SEARCH_DIR("/usr/lib");

comment:2 by William Harrington, 9 years ago

My custom libpath for ld caused the aforementioned issue with the test binaries. Not needed for normal builds.

comment:3 by William Harrington, 9 years ago

comment:4 by William Harrington, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.