Wine symbol lookup errors after setcap command

Questions about Wine on Linux
Locked
ThaChillera
Newbie
Newbie
Posts: 3
Joined: Tue Jun 30, 2020 10:42 am

Wine symbol lookup errors after setcap command

Post by ThaChillera »

Hi,

I’m trying to fix my BF4 ping, by executing the following commands:

Code: Select all

setcap cap_net_raw+epi path/to/wine-preloader
setcap cap_net_raw+epi path/to/wine64-preloader
setcap cap_net_raw+epi path/to/wineserver
I’ve executed the setcap commands on many different version of wine, from the lutris supplied 5.6 version, to Arch's 5.0 and 5.11 versions. They all result in the error in the log:

Code: Select all

/home/{username}/.local/share/lutris/runners/wine/lutris-5.6-5-x86_64/bin/wine: symbol lookup error: /home/{username}/.local/share/lutris/runners/wine/lutris-5.6-5-x86_64/bin/wine: undefined symbol: wine_get_patches, version WINE_1.0
Even though it reports nothing about missing shared objects (like the guide states is possible), I also tried linking these as shown in the guide. Sadly this didn’t resolve anything, it errors with the same line.

Any help would be greatly appreciated

Full Lutris debug paste: https://paste.ubuntu.com/p/Cc5vz9Yd9T/
OS: Arch Linux
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine symbol lookup errors after setcap command

Post by jkfloris »

Do you also get this message if you start an application with a plain Wine version?
In other words, is this a Wine or a Lutris issue?

Code: Select all

DEBUG    2020-06-29 11:49:13,124 [command.start:135]:ENV: WINEDEBUG="-all"
Can you post a terminal output which hasn't turned off all the debug channels?
ThaChillera
Newbie
Newbie
Posts: 3
Joined: Tue Jun 30, 2020 10:42 am

Re: Wine symbol lookup errors after setcap command

Post by ThaChillera »

jkfloris wrote: Tue Jul 07, 2020 11:17 am Do you also get this message if you start an application with a plain Wine version?
Yes, I tried running BF4 using local wine, which resulted in the same error.
As a sanity check, I just ran a different application using the lutris wine, which resulted in the same error.
Can you post a terminal output which hasn't turned off all the debug channels?

Code: Select all

Initial process has started with pid 64474
Game is considered started.
ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
/home/{username}/.local/share/lutris/runners/wine/lutris-5.6-5-x86_64/bin/wine: symbol lookup error: /home/{username}/.local/share/lutris/runners/wine/lutris-5.6-5-x86_64/bin/wine: undefined symbol: wine_get_patches, version WINE_1.0
Game is considered exited.
Initial process has exited.
All children have exited.
Exit with returncode 32512
the SO lookup error is new, but it's for feral's gamemode, so not critical. The log mentions the error is ignored.

Thanks for the help btw, I hope this can be fixed cause its really annoying
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine symbol lookup errors after setcap command

Post by jkfloris »

Yes, I tried running BF4 using local wine, which resulted in the same error.
Strange. Only Wine Staging (Lutris) has wine_get_patches, so Wine Stable/Devel couldn't have this issue.
I have the idea that your different Wine/ Lutris versions are mixed up.
Locked