# Installation problems (Ubuntu 14.04)

**URL:** <https://root-forum.cern.ch/t/installation-problems-ubuntu-14-04/18550>\
**Category:** ROOT\
**Created:** [November 29, 2014, 11:52am UTC](https://root-forum.cern.ch/t/installation-problems-ubuntu-14-04/18550 "2014-11-29T11:52:31Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![M.Bona](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/a8b319/32.png) [@M.Bona](https://root-forum.cern.ch/u/M.Bona)\
**Post date:** [November 29, 2014, 11:52am UTC](https://root-forum.cern.ch/t/installation-problems-ubuntu-14-04/18550/1 "2014-11-29T11:52:31Z")

</div>

I was trying to install root (version 5.34.23) on my computer when this error occurred:

`g++ -shared -Wl,-soname,libGX11TTF.so -m64 -O2 -Wl,--no-undefined -Wl,--as-needed -o lib/libGX11TTF.so graf2d/x11ttf/src/TGX11TTF.o graf2d/x11ttf/src/G__X11TTF.o -L/usr/lib/x86_64-linux-gnu -lfreetype -lz -lpng12 -Llib -lGX11 -lGraf -lXpm -lXext -lX11 -lXft -Llib -lCore -lCint -ldl
graf2d/x11ttf/src/TGX11TTF.o:(.data.rel.ro._ZTV8TGX11TTF[_ZTV8TGX11TTF]+0x310): undefined reference to `TVirtualX::GetFontAscent(char const*) const'
graf2d/x11ttf/src/TGX11TTF.o:(.data.rel.ro._ZTV8TGX11TTF[_ZTV8TGX11TTF]+0x320): undefined reference to `TVirtualX::GetFontDescent(char const*) const'
graf2d/x11ttf/src/TGX11TTF.o:(.data.rel.ro._ZTV8TGX11TTF[_ZTV8TGX11TTF]+0x960): undefined reference to `TAttLine::SetLineColorAlpha(short, float)'
graf2d/x11ttf/src/TGX11TTF.o:(.data.rel.ro._ZTV8TGX11TTF[_ZTV8TGX11TTF]+0x9f0): undefined reference to `TAttFill::SetFillColorAlpha(short, float)'
graf2d/x11ttf/src/TGX11TTF.o:(.data.rel.ro._ZTV8TGX11TTF[_ZTV8TGX11TTF]+0xa98): undefined reference to `TAttText::SetTextColorAlpha(short, float)'
graf2d/x11ttf/src/TGX11TTF.o:(.data.rel.ro._ZTV8TGX11TTF[_ZTV8TGX11TTF]+0xb30): undefined reference to `TAttMarker::SetMarkerColorAlpha(short, float)'
collect2: error: ld returned 1 exit status
make: *** [lib/libGX11TTF.so] Error 1`  
If I type the command “arch” on my terminal I get “x86\_64”, so I tried to configure root for the arch linuxx8664gcc (my gcc version is gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2 ) and then “make” it, but I got the problem above descripted.  
If I try to configure root for the arch linux, I get this error message:

`Checking for libX11 ... no
configure: libX11 MUST be installed
`  
I’ve installed all the prerequisites listed here [root.cern.ch/drupal/content/build-prerequisites](http://root.cern.ch/drupal/content/build-prerequisites) (those for Ubuntu 10, 11, 12 and 14), but still no result.  
The problem seems to regard libX11 ( and/or libXpm) but if I try with

```auto

```

I get : `libx11-dev is already the newest version.
libxpm-dev is already the newest version.
`

Previously I had root on my pc, but I uninstalled it because there were problems in linking libraries ( doing `root-config --cflags --glibs` it didn’t find “Physics” “Postcript” & “Graf3d” libraries) : probably because the first time I installed it I did it not in the proper way.  
Hope someone can help me, thanks!

---

_[View the full topic](https://root-forum.cern.ch/t/installation-problems-ubuntu-14-04/18550)._
