Hi everyone,
I'm trying to run bundled MiniZinc 2.2.1 with Gecode in the command line:
minizinc -solver gecode problem.mzn data.dzn
and get the error message:
/home/andrea/Downloads/minizinc/MiniZincIDE-2.2.1-bundle-linux/bin/fzn-gecode: /usr/lib/x86_64-linux-gnu/libQt5PrintSupport.so.5: version `Qt_5' not found (required by /home/andrea/Downloads/minizinc/MiniZincIDE-2.2.1-bundle-linux/bin/fzn-gecode)
/home/andrea/Downloads/minizinc/MiniZincIDE-2.2.1-bundle-linux/bin/fzn-gecode: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.9' not found (required by /home/andrea/Downloads/minizinc/MiniZincIDE-2.2.1-bundle-linux/bin/fzn-gecode)
/home/andrea/Downloads/minizinc/MiniZincIDE-2.2.1-bundle-linux/bin/fzn-gecode: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5' not found (required by /home/andrea/Downloads/minizinc/MiniZincIDE-2.2.1-bundle-linux/bin/fzn-gecode)
/home/andrea/Downloads/minizinc/MiniZincIDE-2.2.1-bundle-linux/bin/fzn-gecode: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: version `Qt_5' not found (required by /home/andrea/Downloads/minizinc/MiniZincIDE-2.2.1-bundle-linux/bin/fzn-gecode)
/home/andrea/Downloads/minizinc/MiniZincIDE-2.2.1-bundle-linux/bin/fzn-gecode: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5: version `Qt_5' not found (required by /home/andrea/Downloads/minizinc/MiniZincIDE-2.2.1-bundle-linux/bin/fzn-gecode)
=====ERROR=====
The shared object files are all in the location where fzn-gecode is expecting them (in /usr/lib/x86_64-linux-gnu/). However, "qmake --version" shows me that my default qmake is version 4.8.7. Is it a requirement to have qmake5 installed for running MiniZinc/gecode on the command line?
BTW, it works perfectly fine in the IDE.
Many thanks for your help!
Cheers,
Andrea