ruslang02 / discord-qt

Discord client powered by Node.JS and Qt Widgets.
GNU General Public License v3.0
205 stars 11 forks source link

Getting error: undefined symbol: _ZdlPvm, version Qt_5 #50

Open gaborszita opened 3 years ago

gaborszita commented 3 years ago

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.

ruslang02 commented 3 years ago

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.

alkaris2 commented 2 years ago

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.

ruslang02 commented 2 years ago

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