05-02-2017 10:56 AM
I'm using Vivado under Ubuntu 16.04 LTS. I've Qt libs installed.
docnav coming with vivado 2016.4 works fine.
docnav coming with vivado 2017.1 fails with
Cannot mix incompatible Qt library (version 0x40807)
with this library (version 0x40806)
Some checking with ldd and strace quickly revealed the culprit:
1. in the DocNav directory I see
2. ldd of the docnav executable shows exactly those libs
3. an strace of docnav coming with vivado 2017.1 shows
open("<ipath>/libQtSvg.so.4", O_RDONLY) = 3
open("<ipath>/libQtXml.so.4", O_RDONLY) = 3
open("<ipath>/libQtGui.so.4", O_RDONLY) = 3
open("<ipath>/libQtNetwork.so.4", O_RDONLY) = 3
open("<ipath>/libQtCore.so.4", O_RDONLY) = 3
open("/usr/lib/x86_64-linux-gnu/libQtDBus.so.4", O_RDONLY) = 7
4. an strace of docnav coming with vivado 2016.4 does not show an open of libQtDBus !
Apparently docnav tried to load dynamically libQtDBus. If it's not found docnav works. But if one has Qt libs installed on the system this dynamic load finds it, does a version check, and if there is a mismatch, aborts.
Conclusion is obvious:
- docnav should be build such that libQtDBus is not loaded
- or the docnav distribution should contain libQtDBus
What is delivered with vivado 2017.1 appears to be inconsistent.
With best regards, Walter
05-15-2017 11:16 PM
Thanks for bringing this to our attention.
Let me check this internally and get back to you.
05-19-2017 12:46 AM - edited 05-19-2017 12:48 AM
This issue has been reported to factory in CR-974720.
Can you try unsetting the QTP_PLUGIN_PATH environment variable?
05-02-2018 08:33 AM - edited 05-02-2018 08:34 AM
Try to backup and then remove the Qt libraries found in the DocNav folder.
Since you already have Qt installed, when the docnav executable loads it will only load your system's Qt libraries and won't do a mix of your own and Vivado's and cause comapatibility problems between the libraries.
Obviously we can't be certain that DocNav is fully compatible with your system's Qt libraries but in my case it works like a charm in Kubuntu 16.04.
01-30-2019 01:20 AM
thanks for suggestion.
I have taken backup of lib found in Docnav to another folder.
after that i ran cmd docnav & then docnav start with out any issue