<h3 dir="auto">Describe your issue.</h3>
<p dir="auto">Starting with release 1.8.0 there seems to be a mismatch of shared libraries. Please see the failure message on this github actions job:<br>
<a href="https://github.com/danielhrisca/asammdf/runs/5109724435?check_suite_focus=true">https://github.com/danielhrisca/asammdf/runs/5109724435?check_suite_focus=true</a></p>
<h3 dir="auto">Reproducing Code Example</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Try to build a stand-alone application using PyInstaller"><pre class="notranslate"><span class="pl-v">Try</span> <span class="pl-s1">to</span> <span class="pl-s1">build</span> <span class="pl-s1">a</span> <span class="pl-s1">stand</span><span class="pl-c1">-</span><span class="pl-s1">alone</span> <span class="pl-s1">application</span> <span class="pl-s1">using</span> <span class="pl-v">PyInstaller</span></pre></div>
<h3 dir="auto">Error message</h3>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Traceback (most recent call last):
    File &quot;/Users/runner/work/asammdf/asammdf/.tox/exe/bin/pyinstaller&quot;, line 8, in &lt;module&gt;
      sys.exit(run())
    File &quot;/Users/runner/work/asammdf/asammdf/.tox/exe/lib/python3.9/site-packages/PyInstaller/__main__.py&quot;, line 124, in run
      run_build(pyi_config, spec_file, **vars(args))
    File &quot;/Users/runner/work/asammdf/asammdf/.tox/exe/lib/python3.9/site-packages/PyInstaller/__main__.py&quot;, line 58, in run_build
      PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
    File &quot;/Users/runner/work/asammdf/asammdf/.tox/exe/lib/python3.9/site-packages/PyInstaller/building/build_main.py&quot;, line 793, in main
      build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
    File &quot;/Users/runner/work/asammdf/asammdf/.tox/exe/lib/python3.9/site-packages/PyInstaller/building/build_main.py&quot;, line 725, in build
      exec(code, spec_namespace)
    File &quot;asammdf.spec&quot;, line 83, in &lt;module&gt;
      exe = EXE(
    File &quot;/Users/runner/work/asammdf/asammdf/.tox/exe/lib/python3.9/site-packages/PyInstaller/building/api.py&quot;, line 490, in __init__
      self.pkg = PKG(
    File &quot;/Users/runner/work/asammdf/asammdf/.tox/exe/lib/python3.9/site-packages/PyInstaller/building/api.py&quot;, line 205, in __init__
      self.__postinit__()
    File &quot;/Users/runner/work/asammdf/asammdf/.tox/exe/lib/python3.9/site-packages/PyInstaller/building/datastruct.py&quot;, line 155, in __postinit__
      self.assemble()
    File &quot;/Users/runner/work/asammdf/asammdf/.tox/exe/lib/python3.9/site-packages/PyInstaller/building/api.py&quot;, line 268, in assemble
      fnm = checkCache(
    File &quot;/Users/runner/work/asammdf/asammdf/.tox/exe/lib/python3.9/site-packages/PyInstaller/building/utils.py&quot;, line 361, in checkCache
      osxutils.binary_to_target_arch(cachedfile, target_arch, display_name=fnm)
    File &quot;/Users/runner/work/asammdf/asammdf/.tox/exe/lib/python3.9/site-packages/PyInstaller/utils/osx.py&quot;, line 315, in binary_to_target_arch
      assert target_arch in archs, \
  AssertionError: /Users/runner/work/asammdf/asammdf/.tox/exe/lib/python3.9/site-packages/scipy/linalg/../.dylibs/libgfortran.5.dylib is incompatible with target arch x86_64 (has arch: arm64)!"><pre class="notranslate">Traceback (most recent call last):
    File <span class="pl-s"><span class="pl-pds">"</span>/Users/runner/work/asammdf/asammdf/.tox/exe/bin/pyinstaller<span class="pl-pds">"</span></span>, line 8, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>module<span class="pl-k">&gt;</span>
      <span class="pl-en">sys.exit(run</span>())
    File <span class="pl-s"><span class="pl-pds">"</span>/Users/runner/work/asammdf/asammdf/.tox/exe/lib/python3.9/site-packages/PyInstaller/__main__.py<span class="pl-pds">"</span></span>, line 124, <span class="pl-k">in</span> run
      run_build(pyi_config, spec_file, <span class="pl-k">**</span>vars(args))
    File <span class="pl-s"><span class="pl-pds">"</span>/Users/runner/work/asammdf/asammdf/.tox/exe/lib/python3.9/site-packages/PyInstaller/__main__.py<span class="pl-pds">"</span></span>, line 58, <span class="pl-k">in</span> run_build
      PyInstaller.building.build_main.main(pyi_config, spec_file, <span class="pl-k">**</span>kwargs)
    File <span class="pl-s"><span class="pl-pds">"</span>/Users/runner/work/asammdf/asammdf/.tox/exe/lib/python3.9/site-packages/PyInstaller/building/build_main.py<span class="pl-pds">"</span></span>, line 793, <span class="pl-k">in</span> main
      build(specfile, kw.get(<span class="pl-s"><span class="pl-pds">'</span>distpath<span class="pl-pds">'</span></span>), kw.get(<span class="pl-s"><span class="pl-pds">'</span>workpath<span class="pl-pds">'</span></span>), kw.get(<span class="pl-s"><span class="pl-pds">'</span>clean_build<span class="pl-pds">'</span></span>))
    File <span class="pl-s"><span class="pl-pds">"</span>/Users/runner/work/asammdf/asammdf/.tox/exe/lib/python3.9/site-packages/PyInstaller/building/build_main.py<span class="pl-pds">"</span></span>, line 725, <span class="pl-k">in</span> build
      exec(code, spec_namespace)
    File <span class="pl-s"><span class="pl-pds">"</span>asammdf.spec<span class="pl-pds">"</span></span>, line 83, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>module<span class="pl-k">&gt;</span>
      exe = EXE(
    File <span class="pl-s"><span class="pl-pds">"</span>/Users/runner/work/asammdf/asammdf/.tox/exe/lib/python3.9/site-packages/PyInstaller/building/api.py<span class="pl-pds">"</span></span>, line 490, <span class="pl-k">in</span> __init__
      self.pkg = PKG(
    File <span class="pl-s"><span class="pl-pds">"</span>/Users/runner/work/asammdf/asammdf/.tox/exe/lib/python3.9/site-packages/PyInstaller/building/api.py<span class="pl-pds">"</span></span>, line 205, <span class="pl-k">in</span> __init__
      <span class="pl-en">self.__postinit__</span>()
    File <span class="pl-s"><span class="pl-pds">"</span>/Users/runner/work/asammdf/asammdf/.tox/exe/lib/python3.9/site-packages/PyInstaller/building/datastruct.py<span class="pl-pds">"</span></span>, line 155, <span class="pl-k">in</span> __postinit__
      <span class="pl-en">self.assemble</span>()
    File <span class="pl-s"><span class="pl-pds">"</span>/Users/runner/work/asammdf/asammdf/.tox/exe/lib/python3.9/site-packages/PyInstaller/building/api.py<span class="pl-pds">"</span></span>, line 268, <span class="pl-k">in</span> assemble
      fnm = checkCache(
    File <span class="pl-s"><span class="pl-pds">"</span>/Users/runner/work/asammdf/asammdf/.tox/exe/lib/python3.9/site-packages/PyInstaller/building/utils.py<span class="pl-pds">"</span></span>, line 361, <span class="pl-k">in</span> checkCache
      osxutils.binary_to_target_arch(cachedfile, target_arch, display_name=fnm)
    File <span class="pl-s"><span class="pl-pds">"</span>/Users/runner/work/asammdf/asammdf/.tox/exe/lib/python3.9/site-packages/PyInstaller/utils/osx.py<span class="pl-pds">"</span></span>, line 315, <span class="pl-k">in</span> binary_to_target_arch
      assert target_arch <span class="pl-k">in</span> archs, \
  AssertionError: /Users/runner/work/asammdf/asammdf/.tox/exe/lib/python3.9/site-packages/scipy/linalg/../.dylibs/libgfortran.5.dylib is incompatible with target arch x86_64 (has arch: arm64)<span class="pl-k">!</span></pre></div>
<h3 dir="auto">SciPy/NumPy/Python version information</h3>
<p dir="auto">1.8.0 1.22.2 CPython 3.9.10 on macOS-10.16-x86_64-i386-64bit</p>
<p dir="auto">Hello,</p>
<p dir="auto">after finishing scipy.test('full') I got 1 failure:</p>
<h2 dir="auto">FAIL: test_fftpack_import (test_import.TestFFTPackImport)</h2>
<p dir="auto">Traceback (most recent call last):<br>
File "/home/maks/PycharmProjects/_virtualenv/data/lib/python3.4/site-packages/scipy/fftpack/tests/test_import.py", line 30, in test_fftpack_import<br>
"{} contains an import from fftpack".format(path))<br>
File "/home/maks/PycharmProjects/<em>virtualenv/data/lib/python3.4/site-packages/numpy/testing/utils.py", line 53, in assert</em><br>
raise AssertionError(smsg)<br>
AssertionError: /home/maks/PycharmProjects/_virtualenv/data/lib/python3.4/site-packages/scipy/scipy/fftpack/realtransforms.py contains an import from fftpack</p>