You are not logged in.

#1 2022-10-07 14:18:28

oryaacov
Member
Registered: 2022-10-07
Posts: 4

[Solved] undefined symbol when trying to run copyq | Qt_5_PRIVATE_API

Hello,

After installing copyq using sudo pacman -Sy copyq I tried running it but I'm getting the following error:
copyq: symbol lookup error: /usr/lib/libQt5WaylandClient.so.5: undefined symbol: _ZTI27QPlatformServiceColorPicker, version Qt_5_PRIVATE_API

what should I do to solve my problem?

Thanks

Last edited by oryaacov (2022-10-08 13:38:31)

Offline

#2 2022-10-07 14:20:16

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,560

Re: [Solved] undefined symbol when trying to run copyq | Qt_5_PRIVATE_API

Usually by doing a full update. DON'T use -Sy when installing things.

Offline

#3 2022-10-07 15:26:26

oryaacov
Member
Registered: 2022-10-07
Posts: 4

Re: [Solved] undefined symbol when trying to run copyq | Qt_5_PRIVATE_API

Thank you, doing an update did solve my problem!

Last edited by oryaacov (2022-10-07 15:27:09)

Offline

#4 2022-10-07 15:27:19

oryaacov
Member
Registered: 2022-10-07
Posts: 4

Re: [Solved] undefined symbol when trying to run copyq | Qt_5_PRIVATE_API

Scimmia wrote:

Usually by doing a full update. DON'T use -Sy when installing things.

if may I ask small follow up questions:
1. I should use -Sy since then I'll might get a more updated new software but with older dependencies?  (like what happened now?)
2. what should I use when I'm installing new things?

Thank you!

Offline

#5 2022-10-07 15:31:47

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,560

Re: [Solved] undefined symbol when trying to run copyq | Qt_5_PRIVATE_API

1. Yes. Worst case scenario, though, is that that pulls in some newer deps and breaks other things, too. We've seen people break pacman, or even bash doing this.
2. -S is safe assuming you haven't updated the databases. This means never running -Sy or canceling an update. If you get a 404 error, you must update the entire system to install.

Offline

#6 2022-10-08 13:38:07

oryaacov
Member
Registered: 2022-10-07
Posts: 4

Re: [Solved] undefined symbol when trying to run copyq | Qt_5_PRIVATE_API

wow, good to know, Thank you.

Last edited by oryaacov (2022-10-08 13:39:00)

Offline

Board footer

Powered by FluxBB