From 5750bc3a085f66f742845a7dff8bc973a8800e67 Mon Sep 17 00:00:00 2001 From: Pavel Odintsov Date: Sat, 31 Oct 2020 00:17:36 +0000 Subject: [PATCH] We need to specify LD_LIBRARY_PATH for b2 because we use very fresh compiler for it --- src/fastnetmon_build.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/fastnetmon_build.pl b/src/fastnetmon_build.pl index 41a30b7d..776b6936 100755 --- a/src/fastnetmon_build.pl +++ b/src/fastnetmon_build.pl @@ -1565,8 +1565,7 @@ sub install_boost_builder { } # We should specify toolset here if we want to do build with custom compiler - # We have troubles when run this code with vzctl exec so we should add custom compiler in path - my $b2_install_result = exec_command("./b2 install --prefix=$boost_builder_install_folder"); + my $b2_install_result = exec_command("$ld_library_path_for_make ./b2 install --prefix=$boost_builder_install_folder"); unless ($b2_install_result) { fast_die("Can't execute b2 install\n");