# V5.34.34 make error in Ubuntu 18.04.2

**URL:** <https://root-forum.cern.ch/t/v5-34-34-make-error-in-ubuntu-18-04-2/33552>\
**Category:** Newbie\
**Created:** [April 11, 2019, 2:46pm UTC](https://root-forum.cern.ch/t/v5-34-34-make-error-in-ubuntu-18-04-2/33552 "2019-04-11T14:46:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbrummer](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/j/8491ac/32.png) [@jbrummer](https://root-forum.cern.ch/u/jbrummer)\
**Post date:** [April 11, 2019, 2:46pm UTC](https://root-forum.cern.ch/t/v5-34-34-make-error-in-ubuntu-18-04-2/33552/1 "2019-04-11T14:46:29Z")

</div>

Hello

I am running Ubuntu 18.04.2 and trying to build ROOT v5.34.34 (environment driven build) but I am getting a error during make which I don’t recognize. All of the prerequisite packages have been installed. The error message shows:

ar: `u' modifier ignored since`D’ is the default (see `U’)  
libtool: link: ranlib .libs/liblzma.a  
libtool: link: ( cd “.libs” && rm -f “liblzma.la” && ln -s “…/liblzma.la” “liblzma.la” )  
make[2]: Leaving directory ‘/home/user/Programs/root/core/lzma/src/xz-5.0.3/src/liblzma’  
make[1]: Leaving directory ‘/home/user/Programs/root/core/lzma/src/xz-5.0.3/src/liblzma’

Thanks in advance for the advice!

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [April 11, 2019, 2:52pm UTC](https://root-forum.cern.ch/t/v5-34-34-make-error-in-ubuntu-18-04-2/33552/2 "2019-04-11T14:52:05Z")

</div>

> [@Error in installing any of the 5.34 version of ROOT in Fedora 28](https://root-forum.cern.ch/t/error-in-installing-any-of-the-5-34-version-of-root-in-fedora-28/32891/2):
>
> Try [the head of the v5-34-00-patches branch](https://root-forum.cern.ch/t/trouble-installing/18046/11) (you may need to add “--enable-gsl-shared --disable-fitsio” when configuring it) for ROOT 5 or [the newest ROOT 6 release](https://root.cern.ch/downloading-root).

---

<div class="post-metadata">

**Author:** ![jbrummer](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/j/8491ac/32.png) [@jbrummer](https://root-forum.cern.ch/u/jbrummer)\
**Post date:** [April 15, 2019, 1:02pm UTC](https://root-forum.cern.ch/t/v5-34-34-make-error-in-ubuntu-18-04-2/33552/3 "2019-04-15T13:02:17Z")

</div>

[configure.out.txt](https://root-forum.cern.ch/uploads/default/original/3X/b/8/b8f1c1055936ef5ce83e1a5d6891ef1d0a79b42f.txt) (9.2 KB)  
[make.out.txt](https://root-forum.cern.ch/uploads/default/original/3X/8/5/85e5beae97a52ed30263b3ec8cb74900b840d3ba.txt) (458.5 KB)

Hi there

Thank you for the reply. I followed your advice, followed the link to install v5-34-00 patches with git but encountered the same error as before. The output files from the configure and make is attached. Any ideas how I can fix this so that I can install?

Best regards,  
JW Brummer

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [April 15, 2019, 1:06pm UTC](https://root-forum.cern.ch/t/v5-34-34-make-error-in-ubuntu-18-04-2/33552/4 "2019-04-15T13:06:35Z")

</div>

```auto
sudo apt-get install curl

```

---

<div class="post-metadata">

**Author:** ![jbrummer](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/j/8491ac/32.png) [@jbrummer](https://root-forum.cern.ch/u/jbrummer)\
**Post date:** [April 15, 2019, 2:49pm UTC](https://root-forum.cern.ch/t/v5-34-34-make-error-in-ubuntu-18-04-2/33552/5 "2019-04-15T14:49:22Z")

</div>

Hi again

That worked well and I was able to make root but the make install command encountered problems with finding libASImage.so as shown below:

wiggert@lenovo-130:~/Programs/v5-34-00-patches$ make install  
g++ -shared -Wl,-soname,libASImage.so.5.34 -m64 -O2 -Wl,–no-undefined -Wl,–as-needed -o lib/libASImage.so.5.34 graf2d/asimage/src/TASImage.o graf2d/asimage/src/TASPluginGS.o graf2d/asimage/src/G\_\_ASImage.o -Llib -lCore -lCint -ldl -Llib -lGraf -lMathCore lib/libAfterImage.a -lfreetype -lpng -lz -lz -lXpm -lXext -lX11  
lib/libAfterImage.a(export.o): In function `ASImage2jpeg': export.c:(.text+0xd5c): undefined reference to`jpeg\_std\_error’  
export.c:(.text+0xd76): undefined reference to `jpeg_CreateCompress' export.c:(.text+0xd83): undefined reference to`jpeg\_stdio\_dest’  
export.c:(.text+0xdbe): undefined reference to `jpeg_set_defaults' export.c:(.text+0xde1): undefined reference to`jpeg\_set\_quality’  
export.c:(.text+0xdee): undefined reference to `jpeg_start_compress' export.c:(.text+0xeac): undefined reference to`jpeg\_write\_scanlines’  
export.c:(.text+0xf62): undefined reference to `jpeg_set_defaults' export.c:(.text+0xf7a): undefined reference to`jpeg\_start\_compress’  
export.c:(.text+0x1037): undefined reference to `jpeg_write_scanlines' export.c:(.text+0x1069): undefined reference to`jpeg\_finish\_compress’  
export.c:(.text+0x1071): undefined reference to `jpeg_destroy_compress' export.c:(.text+0x10c0): undefined reference to`jpeg\_set\_quality’  
lib/libAfterImage.a(import.o): In function `jpeg2ASImage': import.c:(.text+0x2577): undefined reference to`jpeg\_std\_error’  
import.c:(.text+0x25bc): undefined reference to `jpeg_CreateDecompress' import.c:(.text+0x25c9): undefined reference to`jpeg\_stdio\_src’  
import.c:(.text+0x25d6): undefined reference to `jpeg_read_header' import.c:(.text+0x262f): undefined reference to`jpeg\_start\_decompress’  
import.c:(.text+0x26cc): undefined reference to `jpeg_read_scanlines' import.c:(.text+0x27bf): undefined reference to`jpeg\_abort\_decompress’  
import.c:(.text+0x27cc): undefined reference to `jpeg_destroy_decompress' import.c:(.text+0x27e9): undefined reference to`jpeg\_destroy\_decompress’  
import.c:(.text+0x28d1): undefined reference to `jpeg\_finish\_decompress’  
collect2: error: ld returned 1 exit status  
/home/wiggert/Programs/v5-34-00-patches/graf2d/asimage/Module.mk:221: recipe for target ‘lib/libASImage.so’ failed  
make: \*\*\* [lib/libASImage.so] Error 1

Again, I have installed ROOT many times but not seen this error before and I don’t know why. Do you perhaps have any suggestions?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [April 15, 2019, 3:08pm UTC](https://root-forum.cern.ch/t/v5-34-34-make-error-in-ubuntu-18-04-2/33552/6 "2019-04-15T15:08:51Z")

</div>

Try to remove everything and start from scratch again (i.e. from downloading the source code).

BTW. If you build ROOT “in-place” then you don’t need to install it.
