title: PySide6: error while loading shared libraries: libQt6DesignerComponents.so.6: cannot open shared object file
body: <p>I'm trying to run QT Designer from the terminal</p>
  <pre><code>pyside6-designer 
  </code></pre>
  <p>but get the error message:</p>
  <pre><code>venv/lib/python3.8/site-packages/PySide6/designer: error while loading shared libraries: libQt6DesignerComponents.so.6: cannot open shared object file: No such file or directory
  </code></pre>
  <p>Inspecting the folder, I can confirm <code>libQt6DesignerComponents.so.6</code> exist in the folder:</p>
  <pre><code>/venv/lib/python3.8/site-packages/PySide6/Qt/lib
  </code></pre>
  <p>I have re-installed and also tried the alternative <code>PIPENV</code>, but same result. Trying to execute in the same folder it ask me to install <code>qtchooser</code>. But didn't work after installing this.</p>
  <p>I am on Ubuntu 20.04. I can find a ticket saying it should be solved. <a href="https://codereview.qt-project.org/c/pyside/pyside-setup/+/327680/1/build_scripts/platforms/unix.py#154" rel="nofollow noreferrer">link to solution</a></p>
  <p>I have also tried some random stuff, such as</p>
  <pre><code>sudo /sbin/ldconfig -v
  </code></pre>
  <p>which is described here <a href="https://itsfoss.com/solve-open-shared-object-file-quick-tip/" rel="nofollow noreferrer">its foss</a>. It didn't work.</p>
  <p>Anyone got experience of the same problem and have a solution?</p>