Important: gcc Compatibility with Ubuntu 16.04

Vertica 9.0.1-9 and later 9.0 hotfixes now support Ubuntu 16.04.
However, Ubuntu 16.04 ships with a compiler that is incompatible with the Vertica C++ SDK. To compile UDxs on this platform, you must install packages for 4.8 compatibility:
$ sudo apt-get remove g++
$ sudo apt-get remove gcc
$ sudo apt-get install gcc-4.8
$ sudo apt-get install g++-4.8
$ cd /usr/bin
$ sudo ln -s ./gcc-4.8 gcc
$ sudo ln -s ./g++-4.8 g++
To test your environment, install the packages used by the SDK examples (if you haven't already) and then compile the examples:
$ sudo apt-get install libbz2-dev
$ sudo apt-get install libghc-zlib-dev
$ sudo apt-get install libboost-dev
$ sudo apt-get install libghc-curl-dev
$ cd /opt/vertica/sdk/examples
$ sudo make