On 12-10-2014 14:57, Bruce Dubbs wrote: > Fernando de Oliveira wrote: >> On 12-10-2014 06:54, Walter P. Little wrote: >>> When building BLFS-7.6 (systemd), I noticed that the configure script >>> for >>> Valgrind was not finding Boost even though I had installed it. >>> >>> Turns out that in more recent versions of Boost, the multithreaded >>> libraries no longer have, by default anyway, the "-mt" in their >>> filenames >>> (e.g. libboost_thread-mt.so). Valgrind, for one, looks for these >>> libraries >>> with the assumption that the "-mt" is present (it uses >>> "-llibboost_system-mt" in its configure). >>> >>> Given that it is probable that some programs will look for "-mt" style >>> libraries, and others will look for libraries without the "-mt," >>> symlinks >>> seem to be the most appropriate way to address this. I have tried it >>> out >>> and it fixes the issue I was having with Valgrind. >> >> I am investigating, and so far, only valgrind failed to find boost, >> apparently:
Cairomm dependency should be removed, because the own author writes explicitly how difficut is to find boost. Needs extra switches, probably env variables (flags?). >> Valgrind apparently is fixed with: >> >> sed -e 's/\(lboost_thread\)-mt/\1/g' \ >> -e 's/\(lboost_system\)-mt/\1/g' \ >> -i configure > > A slightly simpler sed: > > sed -i 's/-mt//g' configure Much simpler, thanks. Fixed at revision 14588. -- []s, Fernando -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
