Missing include “bits/c++config.h” when cross compiling 64 bit program on 32 bit in Ubuntu

Adding this answer partially because it fixed my problem of the same issue and so I can bookmark this question myself. I was able to fix it by doing the following: sudo apt-get install gcc-multilib g++-multilib If you’ve installed a version of gcc / g++ that doesn’t ship by default (such as g++-4.8 on lucid) … Read more

Allow docker container to connect to a local/host postgres database

TL;DR Use 172.17.0.0/16 as IP address range, not 172.17.0.0/32. Don’t use localhost to connect to the PostgreSQL database on your host, but the host’s IP instead. To keep the container portable, start the container with the –add-host=database:<host-ip> flag and use database as hostname for connecting to PostgreSQL. Make sure PostgreSQL is configured to listen for … Read more

What are the differences and similarities between ffmpeg, libav, and avconv?

Libav is dead Last commit was on 2019-08-21. Use FFmpeg. Confusing messages The messages mentioned in the question are rather misleading and understandably a source of confusion. The fork was basically a non-amicable result of conflicting personalities and development styles within the FFmpeg community. The real ffmpeg vs the fake one For a while both … Read more

Vagrant error : Failed to mount folders in Linux guest

The plugin vagrant-vbguest solved my problem: $ vagrant plugin install vagrant-vbguest Output: $ vagrant reload ==> default: Attempting graceful shutdown of VM… … ==> default: Machine booted and ready! GuestAdditions 4.3.12 running — OK. ==> default: Checking for guest additions in VM… ==> default: Configuring and enabling network interfaces… ==> default: Exporting NFS shared folders… … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)