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 valgind failed to find boost,
apparently:
abiword ok
akonadi ?
cairomm
clucene ok
ekiga ok
exempi perhaps
gnash ok
inkscape ok
kdepim ?
kdepimlibs ?
kde-workspace ?
libreoffice ok
mariadb ok
swig
valgrind fail
I am starting to investigate swig and cairomm, but not akonadi, kdepim,
kdepimlibs nor kde-workspace.
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
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page