New answers tagged


The development package of library gdf (entered as an argument of -l linker option) could not be found in your environment. Install it by running: sudo apt-get install libgdf-dev Library package names are usually prefixed with lib and postfixed with -dev. Keep this in mind when a similar error appears.


There is no official GCC 4.6 package for 16.04; the lowest version available is 4.7. If you really need 4.6, you will have to use Ubuntu 14.04, or find a PPA which provides it for 16.04.


I recommend you to reinstall all packages on your system that are known to have files in the deleted /usr/lib/gcc directory. The output of dpkg -S /usr/lib/gcc told us which packages this are, in your case: gcc-5-base:amd64, libgcc-5-dev:amd64, cpp-5, gcc-5, gcc-6-base:amd64 Now let's reinstall all of them: sudo apt-get install --reinstall gcc-5-base:...


The other answers only address the dependencies to make the errors you mentioned go away. The list of all dependencies needed is actually much longer. You can install them all with: sudo apt-get install python-pip python-dev libffi-dev libssl-dev libxml2-dev libxslt1-dev libjpeg8-dev zlib1g-dev Then you can install mitmproxy: sudo pip install mitmproxy ...


There's actually two different issues here in your output (assuming all other dependency issues are resolved already). Both need fixed. Missing SSL Libraries As was stated by Knud Larsen in their answer to this question, you are missing the OpenSSL libraries. Refer to their answer on this question for that issue. Missing Python Modules There is a ...


»» fatal error: openssl/opensslv.h: No such file or directory «« Install openssl : sudo apt-get update && sudo apt-get install libssl-dev


Just installing the gcc package is not enough; the package build-essential will give you everything you need to compile C.


%p expects a void *, so casting to void * will do the trick. #include <stdio.h> int main(void) { int number; printf("%p", (void *)&number); }


Ubuntu 12.04.5 - 64, dmrshark : sudo apt-get install g++ git cmake libglib2.0-dev libpcap-dev libsnmp-dev libmysqlclient-dev libmp3lame-dev Sources ... git clone git clone git clone Build the libraries libwebsockets, mbelib, and ...


Solved by fixing symbolic links as described here: As I also needed the -lGLU so I had to repeat the process for My actual lib file were called "" so I had to do: sudo ln -s /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/libGLU....


Perhaps the most 'Ubuntu' way of seeing the source code for rsync, as well as seeing the Debian packaging and patching material, is to activate the sources by following (under Xenial): Dash > Software & Updates > Ubuntu Software > Source Code Ticking the 'Source Code' box and allowing the repositories to reload. Then run the following single ...

Top 50 recent answers are included