Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Linux OpenStudio can't find Qt5

Starting OpenStudio in Linux I get the following error:

/usr/local/bin/OpenStudio-1.12.0: error while loading shared libraries: libQt5Widgets.so.5: cannot open shared object file: No such file or directory

I checked the dependencies and sure enough Qt5 was missing (and libboost). So I installed Qt5 and all the files are there but the library is in the /opt/qt5/lib subdirectory. I added that directory and it's subdirectory with

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/qt5/lib

and get the expected:

LD_LIBRARY_PATH=/lib:/usr/lib:/root/my-applications/lib:/usr/local/lib:/opt/qt5/lib:/opt/qt55/lib:/opt/qt55/lib/lib

but I still get the same error.

I'm using OS 1.12 because it's the most current package that successfully installs the PAT on Linux.