Hot answers tagged

9

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 ...


6

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


4

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:...


3

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 ...


2

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.


2

Core dumping is disabled by default in Ubuntu by setting the maximum dumping file size to 0 for all users. You can check this by: ulimit -c By default it would show 0. Now to enable core dumping, set the size to the value you want (or unlimited). For example, setting the maximum dumping file size as 4 KB: ulimit -c 8 -c takes block numbers with each ...


2

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


1

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.


1

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 ...


1

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



Only top voted, non community-wiki answers of a minimum length are eligible