/usr/bin/ld: cannot find -lCint ubuntu 14.04 ROOT 6.04/14


I made a fresh install of ROOT 6.04/14 from source.
When I try to make my project I get:

/usr/bin/ld: cannot find -lCint
collect2: error: ld returned 1 exit status
make[2]: *** [Spinotron] Error 1
make[1]: *** [CMakeFiles/Spinotron.dir/all] Error 2
make: *** [all] Error 2

I couldn’t find libCint.so installed either. ldd output:

$ ldd /usr/local/bin/root.exe
	linux-vdso.so.1 =>  (0x00007fffdd5dd000)
	libCore.so => /usr/local/lib/libCore.so (0x00007fc92fd4d000)
	libRint.so => /usr/local/lib/libRint.so (0x00007fc92fb29000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fc92f824000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fc92f60e000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc92f249000)
	libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fc92f00a000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fc92edf1000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fc92ebed000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fc92e9ce000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fc92e6c8000)
	/lib64/ld-linux-x86-64.so.2 (0x000055e510e5a000)

Any ideas?


ROOT 6 has no more Cint; please remove -lCint from your Makefile - or better yet, use root-config --libs or root-config --glibs.

Cheers, Axel.

I see that you are using CMake for building your project. You can get valuable information at root.cern.ch/how/integrate-root … ject-cmake