Opened 8 years ago

Closed 7 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@…

Change History (4)

comment:1 Changed 8 years ago by William Harrington

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 Changed 7 years ago by William Harrington

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

comment:3 Changed 7 years ago by William Harrington

comment:4 Changed 7 years ago by William Harrington

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