# Compiling problem TMVA

**URL:** <https://root-forum.cern.ch/t/compiling-problem-tmva/36085>\
**Category:** TMVA\
**Created:** [September 19, 2019, 11:13am UTC](https://root-forum.cern.ch/t/compiling-problem-tmva/36085 "2019-09-19T11:13:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ale\_olomorfo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/ale_olomorfo/32/19612_2.png) [@Ale\_olomorfo](https://root-forum.cern.ch/u/Ale_olomorfo)\
**Post date:** [September 19, 2019, 11:13am UTC](https://root-forum.cern.ch/t/compiling-problem-tmva/36085/1 "2019-09-19T11:13:57Z")

</div>

Hello everybody!

I am writing a code using TMVA and when I compile with the following line:

```auto
c++ -o Es_7 Es_7.cpp `root-config --cflags --glibs` -lTMVA

```

I get:

```auto
/usr/bin/ld: warning: libblas.so.3, needed by /home/alessandro/Scrivania/root/lib/libTMVA.so, not found (try using -rpath or -rpath-link)
/home/alessandro/Scrivania/root/lib/libTMVA.so: riferimento non definito a "dger_"
/home/alessandro/Scrivania/root/lib/libTMVA.so: riferimento non definito a "sger_"
/home/alessandro/Scrivania/root/lib/libTMVA.so: riferimento non definito a "sgemm_"
/home/alessandro/Scrivania/root/lib/libTMVA.so: riferimento non definito a "daxpy_"
/home/alessandro/Scrivania/root/lib/libTMVA.so: riferimento non definito a "dgemv_"
/home/alessandro/Scrivania/root/lib/libTMVA.so: riferimento non definito a "dgemm_"
/home/alessandro/Scrivania/root/lib/libTMVA.so: riferimento non definito a "saxpy_"
/home/alessandro/Scrivania/root/lib/libTMVA.so: riferimento non definito a "sgemv_"
collect2: error: ld returned 1 exit status

```

I do not think the problem is in the code itself.  
Can someone help me, please?

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [September 19, 2019, 11:18am UTC](https://root-forum.cern.ch/t/compiling-problem-tmva/36085/2 "2019-09-19T11:18:34Z")

</div>

These missing symbols are “blas” ones which is not surprising as you get also a warning saying “libblas” is not found. Is it installed on your machine ?
