segmentation fault when run (on Mac running Ubuntu 16.04)

Hello Gurus. I installed a fresh version of Ubuntu 16.04.3 on my late-2015 retina Macbook Pro and was able to compile audacity 2.2.0 as follows:

Step 1: First, installed the required wxWidgets 3.0.2
Step 2: Second, installed audacity 2.2.0 by the following steps:
cd audacity directory (created when extracting the audacity zip file)
mkdir build
cd build
…/configure --enable-debug
make -j4
sudo make install

When I run it I get a segmentation fault with the error messages shown in the screenshots.

Fairly new to both linux/Ubuntu and Audacity, so not sure where to start in solving this. Looked around but couldn’t find any pre-existing remedies. Any ideas/suggestions would be greatly appreciated.

Thank you!
Shot1.png
Shot2.png

I can’t tell from the screenshots what the problem might be - it could be anything.
Also, I’ve no experience running Linux on a Mac, and have no idea what gremlins may lie therein (but I’d guess there are lots).

The first thing that I’d be checking out is the sound system. Audacity is like the canary in a mine - if there’s any problem with the sound system, Audacity will baulk.
Things to check:

  • Do simple audio I/O applications work (such as arecord and aplay)?
  • Is PulseAudio properly installed and working? (PulseAudio is the default sound server for Ubuntu)
  • Does PulseAudio Volume Control (pavucontrol) show input and output devices?

Ok, I’ll start plugging away and will post to the forum anything useful I might discover along the way. Thank you!