# lib/libImt.so: undefined reference to \`tbb::interface7::internal::isolate\_within\_arena(tbb::interface7::internal::delegate\_base&, long)'

**URL:** <https://root-forum.cern.ch/t/lib-libimt-so-undefined-reference-to-tbb-isolate-within-arena-tbb-delegate-base-long/35891>\
**Category:** ROOT\
**Created:** [September 5, 2019, 1:49pm UTC](https://root-forum.cern.ch/t/lib-libimt-so-undefined-reference-to-tbb-isolate-within-arena-tbb-delegate-base-long/35891 "2019-09-05T13:49:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![franciuska](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/f/b9e5f3/32.png) [@franciuska](https://root-forum.cern.ch/u/franciuska)\
**Post date:** [September 5, 2019, 1:49pm UTC](https://root-forum.cern.ch/t/lib-libimt-so-undefined-reference-to-tbb-isolate-within-arena-tbb-delegate-base-long/35891/1 "2019-09-05T13:49:42Z")

</div>

Dear all,  
I am trying to compile with Make a routine I had done in the past with root version 6.16.00  
Last time I compiled the routine was July and everything worked fine. Since then, I may have install something I have no memory of and now, when I digit Make, I get

mpic++ -std=c++11 -fpermissive -fopenmp -O3 -m32 Minimal.o `root-config --cflags``root-config --glibs` -lm -o Minimal  
/local/home/fbelloni/Software/Scientific/ROOT/root-6.16.00\_build/lib/libImt.so: undefined reference to `tbb::interface7::internal::isolate\_within\_arena(tbb::interface7::internal::delegate\_base&, long)’  
collect2: error: ld returned 1 exit status  
Makefile:50: recipe for target ‘Minimal’ failed  
make: \*\*\* [Minimal] Error 1

I am running the routine on Ubuntu 18.04

mpicc --version  
gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0  
Copyright © 2017 Free Software Foundation, Inc.  
This is free software; see the source for copying conditions. There is NO  
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

In attachment is a minimal version of the routine.[Minimal.cc](https://root-forum.cern.ch/uploads/short-url/4dM9AqejZOesK9Rd8uXsr0VHiBx.cc) (3.8 KB) [Makefile.txt](https://root-forum.cern.ch/uploads/short-url/nLoVksC8jtpIdtVdHKAwnZRoGSH.txt) (747 Bytes) [csv.h](https://root-forum.cern.ch/uploads/short-url/9wqcw42lica0cyx031kP2deD9Of.h) (55.2 KB)

And the file IPM\_30\_372.txt is in the form (I report the first few lines)  
-0.05,-0.05,0.322,-1361420.2381011224,1171054.1811987106,-2007407.941684842  
-0.049,-0.05,0.322,-707144.5487325774,1811328.8416685127,-1958477.426685859  
-0.048,-0.05,0.322,-297804.37960431026,1921025.8577347514,-1999554.763333845  
-0.047,-0.05,0.322,-404215.6366824135,1822536.7734418735,-2695537.5305145234  
-0.046,-0.05,0.322,91995.21017553145,1917782.959363666,-1755268.2515345986  
-0.045000000000000005,-0.05,0.322,-2771.612311712788,1884013.0923075303,-1703603.4640998784  
-0.044000000000000004,-0.05,0.322,-306569.17180030234,2280117.6486054547,-1483680.6227446268  
-0.043000000000000003,-0.05,0.322,-34412.22774156742,2223417.550010582,-1353558.220349397  
-0.042,-0.05,0.322,80365.74223969178,2274079.9599962053,-1556744.0702228914  
-0.041,-0.05,0.322,114893.75259599563,1834211.76345985,-1729727.288088508

Could anyone help me, pls?

Thx,  
cheers,  
Franciuska

---

<div class="post-metadata">

**Author:** ![franciuska](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/f/b9e5f3/32.png) [@franciuska](https://root-forum.cern.ch/u/franciuska)\
**Post date:** [September 5, 2019, 2:01pm UTC](https://root-forum.cern.ch/t/lib-libimt-so-undefined-reference-to-tbb-isolate-within-arena-tbb-delegate-base-long/35891/2 "2019-09-05T14:01:41Z")

</div>

Hello.

I have just found the problem. I should have added -ltbb in the Makefile.

Thx,  
cheers,  
Franciuska

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [September 19, 2019, 2:01pm UTC](https://root-forum.cern.ch/t/lib-libimt-so-undefined-reference-to-tbb-isolate-within-arena-tbb-delegate-base-long/35891/3 "2019-09-19T14:01:42Z")

</div>

Closed on September 19, 2019, 2:01pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
