Fix dlopen() flags problem with Python 3.6

6 jobs for master in 181 minutes and 10 seconds (queued for 5 seconds)
Status Job ID Name Coverage
  Test
failed #2112
amd64
job_clang_amd64

02:17:12

failed #2116
amd64
job_clang_amd64_nosh

02:16:46

passed #2114
amd64
job_clang_py2_amd64

03:01:07

failed #2111
amd64
job_gcc_amd64

01:39:28

failed #2115
amd64
job_gcc_amd64_nosh

01:39:16

passed #2113
amd64
job_gcc_py2_amd64

02:24:06

 
Name Stage Failure
failed
job_clang_amd64_nosh Test There is an unknown failure, please try again
$ cd doc; python3 /usr/bin/sphinx-build -b doctest . build *.rst demos/inference/inference.rst
Running Sphinx v1.5.1
making output directory...
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused

Extension error:
Could not import extension numpydoc (exception: No module named 'numpydoc')
ERROR: Build failed: exit status 1
failed
job_gcc_amd64 Test There is an unknown failure, please try again
$ cd doc; python3 /usr/bin/sphinx-build -b doctest . build *.rst demos/inference/inference.rst
Running Sphinx v1.5.1
making output directory...
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused

Extension error:
Could not import extension numpydoc (exception: No module named 'numpydoc')
ERROR: Build failed: exit status 1
failed
job_gcc_amd64_nosh Test There is an unknown failure, please try again
$ cd doc; python3 /usr/bin/sphinx-build -b doctest . build *.rst demos/inference/inference.rst
Running Sphinx v1.5.1
making output directory...
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused

Extension error:
Could not import extension numpydoc (exception: No module named 'numpydoc')
ERROR: Build failed: exit status 1
failed
job_clang_amd64 Test There is an unknown failure, please try again
$ cd doc; python3 /usr/bin/sphinx-build -b doctest . build *.rst demos/inference/inference.rst
Running Sphinx v1.5.1
making output directory...
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused

Extension error:
Could not import extension numpydoc (exception: No module named 'numpydoc')
ERROR: Build failed: exit status 1