discord-qt icon indicating copy to clipboard operation
discord-qt copied to clipboard

Getting error: undefined symbol: _ZdlPvm, version Qt_5

Open gaborszita opened this issue 2 years ago • 3 comments

When I try running this application on Linux, I get this error:

/path/to/app/discord-qt/node_modules/@nodegui/qode/binaries/qode: symbol lookup error: /path/to/app/discord-qt/dist/nodegui_core.node: undefined symbol: _ZdlPvm, version Qt_5

I get this error both when I install it from the AUR repository and build it from source.

Do I have to install something? Perhaps I have to install some Qt components, but it's not in the README.

gaborszita avatar Aug 20 '21 17:08 gaborszita

Probably the versions of the nodegui compiled module are not compatible, or the architectures are different or there aren't indeed all the packages installed. Generally speaking you only need Qt Core and Qt SVG installed and it should be fine.

ruslang02 avatar Aug 28 '21 23:08 ruslang02

I'm also getting this error, I have qt5-base and qt-svg installed, so what else is missing? Because Qt5-Base should have all the basic base packages thats its core, but what of this nodegui? it's in there, but it's using an undefined symbol in Qt5.

What version of Qt did you build this for? 5.14? 5.15? I'm using 5.15.3 Have you considered changing or fixing this undefined symbol to match with current versions of Qt5? You need to be more specific when mentioning these packages, because it feels like you have dependencies in there that aren't documented, and just making people jump through hoops trying to figure out what packages this application needs.

alkaris2 avatar Jun 14 '22 14:06 alkaris2

The best solution I can recommend is to build the app yourself and not rely on old binaries... I haven't supported this project for a long time, so I wouldn't be able to say what else might be missing.

Manual upgrade of library NodeGUI might be required, that's all I can say

ruslang02 avatar Jun 14 '22 16:06 ruslang02