# Error while trying to install Licode on Ubuntu 16.04 LTS

**URL:** <https://discourse.lynckia.com/t/error-while-trying-to-install-licode-on-ubuntu-16-04-lts/557>\
**Category:** Uncategorized\
**Created:** [August 2, 2017, 4:17pm UTC](https://discourse.lynckia.com/t/error-while-trying-to-install-licode-on-ubuntu-16-04-lts/557 "2017-08-02T16:17:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![uricantasala](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.lynckia.com/uricantasala/32/80_2.png) [@uricantasala](https://discourse.lynckia.com/u/uricantasala)\
**Post date:** [August 2, 2017, 4:17pm UTC](https://discourse.lynckia.com/t/error-while-trying-to-install-licode-on-ubuntu-16-04-lts/557/1 "2017-08-02T16:17:02Z")

</div>

Hello Lynckia,

I have tried to install Licode on Ubuntu 16.04 (​Linux user-VirtualBox 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86\_64 x86\_64 x86\_64 GNU/Linux) doing the instructions you have written on the webpage

[http://lynckia.com/licode/install.html](http://lynckia.com/licode/install.html)

and when I had to install Erizo I get an error that said:

Installing erizo…  
– Could NOT find Doxygen (missing: DOXYGEN\_EXECUTABLE)  
– Found glib-2.0: /usr/include/glib-2.0, /usr/lib/x86\_64-linux-gnu/libglib-2.0.so;/usr/lib/x86\_64-linux-gnu/libgobject-2.0.so;/usr/lib/x86\_64-linux-gnu/libgthread-2.0.so  
– Boost version: 1.58.0  
– Found the following Boost libraries:  
– thread  
– regex  
– system  
– chrono  
– date\_time  
– atomic  
CMake Error at CMakeLists.txt:7 (message):  
lib not found: AVUTIL-NOTFOUND check README  
Call Stack (most recent call first):  
CMakeLists.txt:91 (test\_lib)

– Configuring incomplete, errors occurred!  
See also “/home/user/licode/erizo/build/CMakeFiles/CMakeOutput.log”.  
See also “/home/user/licode/erizo/build/CMakeFiles/CMakeError.log”.

Logs:

CMakeOutput.log

The system is: Linux - 4.4.0-31-generic - x86\_64  
Compiling the C compiler identification source file “CMakeCCompilerId.c” succeeded.  
Compiler: /usr/bin/cc  
Build flags:  
Id flags:

The output was:  
0

Compilation of the C compiler identification source “CMakeCCompilerId.c” produced “a.out”

The C compiler identification is GNU, found in “/home/user/licode/erizo/build/CMakeFiles/3.5.1/CompilerIdC/a.out”

Compiling the CXX compiler identification source file “CMakeCXXCompilerId.cpp” succeeded.  
Compiler: /usr/bin/c++  
Build flags:  
Id flags:

The output was:  
0

Compilation of the CXX compiler identification source “CMakeCXXCompilerId.cpp” produced “a.out”

The CXX compiler identification is GNU, found in “/home/user/licode/erizo/build/CMakeFiles/3.5.1/CompilerIdCXX/a.out”

Determining if the C compiler works passed with the following output:  
Change Dir: /home/user/licode/erizo/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" “cmTC\_e2a2d/fast”  
/usr/bin/make -f CMakeFiles/cmTC\_e2a2d.dir/build.make CMakeFiles/cmTC\_e2a2d.dir/build  
make[1]: se entra en el directorio '/home/user/licode/erizo/build/CMakeFiles/CMakeTmp’  
Building C object CMakeFiles/cmTC\_e2a2d.dir/testCCompiler.c.o  
/usr/bin/cc -o CMakeFiles/cmTC\_e2a2d.dir/testCCompiler.c.o -c /home/user/licode/erizo/build/CMakeFiles/CMakeTmp/testCCompiler.c  
Linking C executable cmTC\_e2a2d  
/usr/bin/cmake -E cmake\_link\_script CMakeFiles/cmTC\_e2a2d.dir/link.txt --verbose=1  
/usr/bin/cc CMakeFiles/cmTC\_e2a2d.dir/testCCompiler.c.o -o cmTC\_e2a2d -rdynamic  
make[1]: se sale del directorio ‘/home/user/licode/erizo/build/CMakeFiles/CMakeTmp’

Detecting C compiler ABI info compiled with the following output:  
Change Dir: /home/user/licode/erizo/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" “cmTC\_c8cb1/fast”  
/usr/bin/make -f CMakeFiles/cmTC\_c8cb1.dir/build.make CMakeFiles/cmTC\_c8cb1.dir/build  
make[1]: se entra en el directorio '/home/user/licode/erizo/build/CMakeFiles/CMakeTmp’  
Building C object CMakeFiles/cmTC\_c8cb1.dir/CMakeCCompilerABI.c.o  
/usr/bin/cc -o CMakeFiles/cmTC\_c8cb1.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c

CMakeError.log:

​Determining if the pthread\_create exist failed with the following output:  
Change Dir: /home/user/licode/erizo/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" “cmTC\_10afe/fast”  
/usr/bin/make -f CMakeFiles/cmTC\_10afe.dir/build.make CMakeFiles/cmTC\_10afe.dir/build  
make[1]: se entra en el directorio ‘/home/user/licode/erizo/build/CMakeFiles/CMakeTmp’  
Building C object CMakeFiles/cmTC\_10afe.dir/CheckSymbolExists.c.o  
/usr/bin/cc -o CMakeFiles/cmTC\_10afe.dir/CheckSymbolExists.c.o -c /home/user/licode/erizo/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c  
Linking C executable cmTC\_10afe  
/usr/bin/cmake -E cmake\_link\_script CMakeFiles/cmTC\_10afe.dir/link.txt --verbose=1  
/usr/bin/cc CMakeFiles/cmTC\_10afe.dir/CheckSymbolExists.c.o -o cmTC\_10afe -rdynamic  
CMakeFiles/cmTC\_10afe.dir/CheckSymbolExists.c.o: En la función `main': CheckSymbolExists.c:(.text+0x16): referencia a`pthread\_create’ sin definir  
collect2: error: ld returned 1 exit status  
CMakeFiles/cmTC\_10afe.dir/build.make:97: fallo en las instrucciones para el objetivo 'cmTC\_10afe’  
make[1]: \*\*\* [cmTC\_10afe] Error 1  
make[1]: se sale del directorio '/home/user/licode/erizo/build/CMakeFiles/CMakeTmp’  
Makefile:126: fallo en las instrucciones para el objetivo 'cmTC\_10afe/fast’  
make: \*\*\* [cmTC\_10afe/fast] Error 2

File /home/user/licode/erizo/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:  
/\* \*/  
#include \<pthread.h\>

int main(int argc, char\*\* argv)  
{  
(void)argv;  
#ifndef pthread\_create  
return ((int\*)(&pthread\_create))[argc];  
#else  
(void)argc;  
return 0;  
#endif  
}

Determining if the function pthread\_create exists in the pthreads failed with the following output:  
Change Dir: /home/user/licode/erizo/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" “cmTC\_054a0/fast”  
/usr/bin/make -f CMakeFiles/cmTC\_054a0.dir/build.make CMakeFiles/cmTC\_054a0.dir/build  
make[1]: se entra en el directorio '/home/user/licode/erizo/build/CMakeFiles/CMakeTmp’  
Building C object CMakeFiles/cmTC\_054a0.dir/CheckFunctionExists.c.o  
/usr/bin/cc -DCHECK\_FUNCTION\_EXISTS=pthread\_create -o CMakeFiles/cmTC\_054a0.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c  
Linking C executable cmTC\_054a0  
/usr/bin/cmake -E cmake\_link\_script CMakeFiles/cmTC\_054a0.dir/link.txt --verbose=1  
/usr/bin/cc -DCHECK\_FUNCTION\_EXISTS=pthread\_create CMakeFiles/cmTC\_054a0.dir/CheckFunctionExists.c.o -o cmTC\_054a0 -rdynamic -lpthreads  
/usr/bin/ld: no se puede encontrar -lpthreads  
collect2: error: ld returned 1 exit status  
CMakeFiles/cmTC\_054a0.dir/build.make:97: fallo en las instrucciones para el objetivo 'cmTC\_054a0’​

Can you help me with that error?

Thank you a lot!

I hope you will know how to solve it!

---

<div class="post-metadata">

**Author:** ![pedro](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.lynckia.com/pedro/32/24_2.png) [@pedro](https://discourse.lynckia.com/u/pedro)\
**Post date:** [August 3, 2017, 9:38am UTC](https://discourse.lynckia.com/t/error-while-trying-to-install-licode-on-ubuntu-16-04-lts/557/2 "2017-08-03T09:38:01Z")

</div>

We don’t officially support Ubuntu 16 atm. There’s people making it work in this thread -  
[Any plan to support newer versions of Ubuntu?](http://discourse.lynckia.com/t/any-plan-to-support-newer-versions-of-ubuntu/456/6)

However, any change that we make in the installation process may break that since we only actively test in Ubuntu 14.04 and Docker for now.
