Swig is broken in Ubuntu 16.04 (xenial)

Spread the love

If you’re building a swig Python module and encounter errors like:

where Foobar is some class that is being wrapped, then you are encountering a swig-3.08 bug.  Unfortunately this is still the official package in Ubuntu 16.04.  You can vote for the issue here.

Until the package is updated, one can download and manually install an updated swig package by following the following recipe:

 

This entry was posted in computing, programming. Bookmark the permalink.

Leave a Reply