Symbol search error: ./ executableName: undefined symbol: _ZN18QXmlDefaultHandlerC2Ev

I am trying to run an executable on Linux Mint 16 x64 that was compiled for Ubuntu 12 x64. The executable uses Qt 5.1.1 dynamically at runtime. I get an error message:

loaded the dummy plugin loaded the Linux plugin updating server status ./executableName: symbol lookup error: ./executableName: undefined symbol: _ZN18QXmlDefaultHandlerC2Ev 

When i started

 ldd executableName | grep "not found" 

Search for missing dependencies. I get no result; all dynamic dependencies seem to be found, but the error of the undefined symbol above persists.

Thoughts?

+7
linux qt linker shared-libraries symbol-table
source share
2 answers

Quick reference:

 $ echo _ZN18QXmlDefaultHandlerC2Ev|c++filt QXmlDefaultHandler::QXmlDefaultHandler() 

Thus, you do not have a constructor for QXmlDefaultHandler . Googling for this we can find here that at least Qt-4.8 and Qt-5.3 contain this library.

I think there is some incompatibility between your real Qt executable and the one for which the executable was compiled. My suggestion was to recompile this executable from source, but to your mint.

It is possible that porting the source package from ubuntu will be a little difficult for you, in this case I suggest a simple recompilation of the source stream (or even binary download, if any).

+22
source share

You cannot run Ubuntu binaries on Mint; binaries are generally not compatible with binaries between distributions. Can you find the Mint? If not, you will have to create it yourself.

+2
source share

All Articles