[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Help needed for r-cran-rcppparallel to build with Debian's system libtbb



Hi,

when trying to link rcppparallel against libtbb-dev I get:

...
make[1]: Entering directory '/build/r-cran-rcppparallel-5.1.4+dfsg/src'
(tbb) Using system (Intel / OneAPI) TBB library.
(tbb) TBB_LIB = /usr/lib/x86_64-linux-gnu
(tbb) TBB_INC = /usr/include
g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -I../inst/include -I/usr/include    -std=gnu++11 -DRCPP_PARALLEL_USE_TBB=1 -DTBB_SUPPRESS_DEPRECATED_MESSAGES=1 -fpic  -g -O2 -ffile-prefix-map=/build/r-base-kpovBh/r-base-4.1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c init.cpp -o init.o
g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -I../inst/include -I/usr/include    -std=gnu++11 -DRCPP_PARALLEL_USE_TBB=1 -DTBB_SUPPRESS_DEPRECATED_MESSAGES=1 -fpic  -g -O2 -ffile-prefix-map=/build/r-base-kpovBh/r-base-4.1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c options.cpp -o options.o
g++ -std=gnu++14 -shared -L/usr/lib/R/lib -Wl,-z,relro -o RcppParallel.so init.o options.o -Wl,-L,/usr/lib/x86_64-linux-gnu -Wl,-rpath,/usr/lib/x86_64-linux-gnu -ltbb -ltbbmalloc -L/usr/lib/R/lib -lR
make[1]: Leaving directory '/build/r-cran-rcppparallel-5.1.4+dfsg/src'
make[1]: Entering directory '/build/r-cran-rcppparallel-5.1.4+dfsg/src'
make[1]: Leaving directory '/build/r-cran-rcppparallel-5.1.4+dfsg/src'
installing via 'install.libs.R' to /build/r-cran-rcppparallel-5.1.4+dfsg/debian/r-cran-rcppparallel/usr/lib/R/site-library/00LOCK-r-cran-rcppparallel-5.1.4+dfsg/00new/RcppParallel
Error in file.symlink(tbbLibs, tbbDest) : no files to link from
* removing '/build/r-cran-rcppparallel-5.1.4+dfsg/debian/r-cran-rcppparallel/usr/lib/R/site-library/RcppParallel'


Any hint how to fix this?

Kind regards

      Andreas.


-- 
http://fam-tille.de


Reply to: