FredHutch / easybuild-life-sciences

Howto and implementation documentation
https://fredhutch.github.io/easybuild-life-sciences/
21 stars 6 forks source link

: Resolve boost libraries when installing R package under R/4.0.0-foss-2019b-fh1 ? #461

Closed happyfox-robot closed 3 years ago

happyfox-robot commented 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?

fizwit commented 3 years ago

load Boost/1.72.0-gompi-2019b after loading R to find the Boost libraries.