./paraview: /home/ParaView-5.7.0-RC2-MPI-Linux-Python3.7-64bit/bin/../lib/libQt5Core.so.5: version `Qt_5.12' not found (required by /usr/lib64/libQt5Network.so.5)
./paraview: /home/ParaView-5.7.0-RC2-MPI-Linux-Python3.7-64bit/bin/../lib/libQt5Core.so.5: version `Qt_5.12.4_PRIVATE_API' not found (required by /usr/lib64/libQt5Network.so.5)
ParaView binaries come with their own Qt. It should not be loading /usr/lib64/libQt5Network.so.5 but the one provided by ParaView package itself. Do you have LD_LIBRARY_PATH or some such environment variable set?
try running paraview as
LD_DEBUG=libs …/paraview
and then inspect the log to see why /usr/lib64/libQt5Network.so.5 is being loaded. That may shed some light on the issue.
I tried your command. I get a very long output.
The last lines are:
4639: trying file=/home/jimmy/.paraview/lib/libvtkh5part-pv5.7.so.1
4639:
4639: /home/jimmy/.paraview/bin/…/lib/libQt5Core.so.5: error: version lookup error: version Qt_5.12' not found (required by /usr/lib64/libQt5Network.so.5) (continued) ./paraview: /home/jimmy/.paraview/bin/../lib/libQt5Core.so.5: versionQt_5.12’ not found (required by /usr/lib64/libQt5Network.so.5)
4639: /home/jimmy/.paraview/bin/…/lib/libQt5Core.so.5: error: version lookup error: version Qt_5.12.4_PRIVATE_API' not found (required by /usr/lib64/libQt5Network.so.5) (continued) ./paraview: /home/jimmy/.paraview/bin/../lib/libQt5Core.so.5: versionQt_5.12.4_PRIVATE_API’ not found (required by /usr/lib64/libQt5Network.so.5)
The LD_LIBRARY_PATH does cause problems because it means that all of our shipped libraries are lower precedence than your system libraries. There shouldn’t be any need to add /usr/lib64 to this manually; that’s a distro thing.
Having a system path in LD_LIBRARY_PATH seems very wrong no matter how it gets there. It overrides the paths ParaView uses to use its own libraries in the package and we cannot guard against it (by the time paraview has executed, a bad LD_LIBRARY_PATH has already done its damage).
It looks like I had to reboot in order to make the changes to bashrc permanent! o.o
I usually only give $ source ~/.bashrc
but this time, it kept loading the old LD_LIBRARY_PATH.
Weird.
Anyway, now paraview works! Thank you for your help, guys!