# Linking problem to libTree.so

**URL:** <https://root-forum.cern.ch/t/linking-problem-to-libtree-so/13697>\
**Category:** ROOT\
**Created:** [January 30, 2012, 6:23pm UTC](https://root-forum.cern.ch/t/linking-problem-to-libtree-so/13697 "2012-01-30T18:23:25Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Pepe\_Le\_Pew](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pepe_le_pew/32/12365_2.png) [@Pepe\_Le\_Pew](https://root-forum.cern.ch/u/Pepe_Le_Pew)\
**Post date:** [February 4, 2012, 6:19pm UTC](https://root-forum.cern.ch/t/linking-problem-to-libtree-so/13697/9 "2012-02-04T18:19:02Z")

</div>

Do you create an instance of TApplication in your main? If not, auto-loading of ROOT libraries will not work and you will need to load (some of) them manually, i.e. ‘gSystem-\>Load(“[libTree.so](http://libTree.so)”);’.  
Do you have the “/etc/root” subdirectory? If yes, you most probably have Ubuntu’s default version of ROOT installed, which may interfere with your “private” ROOT installation (in “/opt/root”) -\> “completely remove” all standard Ubuntu’s ROOT packages (using a “package manager”) - see also [url][ROOT 5.32/00 support](https://root-forum.cern.ch/t/root-5-32-00-support/13674/1)

---

_[View the full topic](https://root-forum.cern.ch/t/linking-problem-to-libtree-so/13697)._
