Closed happyfox-robot closed 3 years ago
I'm trying to build an R package with the R/4.0.0-foss-2019b-fh1 module loaded. Process is dying because some Boost components can't be found:
/app/software/binutils/2.32-GCCcore-8.3.0/bin/ld.gold: error: cannot find -lboost_filesystem /app/software/binutils/2.32-GCCcore-8.3.0/bin/ld.gold: error: cannot find -lboost_system
Only place I could find these on quick scan is /usr/lib/x86_64-linux-gnu which doesn't seem to be in ld SEARCH_DIRs. What's the recommended way to pick up Boost in these circumstances?
load Boost/1.72.0-gompi-2019b after loading R to find the Boost libraries.
I'm trying to build an R package with the R/4.0.0-foss-2019b-fh1 module loaded. Process is dying because some Boost components can't be found:
/app/software/binutils/2.32-GCCcore-8.3.0/bin/ld.gold: error: cannot find -lboost_filesystem /app/software/binutils/2.32-GCCcore-8.3.0/bin/ld.gold: error: cannot find -lboost_system
Only place I could find these on quick scan is /usr/lib/x86_64-linux-gnu which doesn't seem to be in ld SEARCH_DIRs. What's the recommended way to pick up Boost in these circumstances?