Hi, I'm new to nanomsg and faced the same problem with you. The following solved the compilation problem on a linux environment. I replaced #include <libc.h> with #include <unistd.h> #include <string.h> #include <pthread.h> and added anl shared library (-lanl at the end of the compilation command). Cheers ________________________________ From: nanomsg-bounce@xxxxxxxxxxxxx [nanomsg-bounce@xxxxxxxxxxxxx] on behalf of Cockhootec Yahrabee [cockootec@xxxxxxxxx] Sent: 24 June 2014 14:49 To: nanomsg@xxxxxxxxxxxxx Subject: [nanomsg] [nanomsg-dev] compilation error - missing libc.h Hi guys, I am trying to compile one of your samples presented at http://tim.dysinger.net/posts/2013-09-16-getting-started-with-nanomsg.html but I am getting compilation error fatal error: libc.h: No such file or directory #include <libc.h> Of course, I tried to find some answers using Google but I found nothing. I am using Ubuntu 14.04 64 bit version. Could you, please, help me to resolve this problem? Is there any lib I am missing? So far I read only that the library is not depend on any third party libraries so I thought that I just compile code and I am good to go but obviously I was wrong. Thanks in advance for your help