Are we sure that nothing is required on Linux?
|
# nothing required on other platforms |
|
"" |
I cannot load the markovchain package (cc @spedygiorgio), which links against RcppParallel, with the following error:
Error: package or namespace load failed for ‘markovchain’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/usr/local/lib/R/library/markovchain/libs/markovchain.so':
/usr/local/lib/R/library/markovchain/libs/markovchain.so: undefined symbol: _ZN3tbb4task13note_affinityEt
So somehow this TBB symbol ends up in the markovchain library. Manually adding -ltbb to the linking phase solves the issue for me, but currently RcppParallel::RcppParallelLibs() returns nothing for Linux.
Are we sure that nothing is required on Linux?
RcppParallel/R/tbb.R
Lines 92 to 93 in 0da9610
I cannot load the
markovchainpackage (cc @spedygiorgio), which links againstRcppParallel, with the following error:So somehow this TBB symbol ends up in the
markovchainlibrary. Manually adding-ltbbto the linking phase solves the issue for me, but currentlyRcppParallel::RcppParallelLibs()returns nothing for Linux.