Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find spotify-adblock.so (AUR installation) #3

Closed
jclsn opened this issue May 6, 2021 · 2 comments
Closed

Can't find spotify-adblock.so (AUR installation) #3

jclsn opened this issue May 6, 2021 · 2 comments

Comments

@jclsn
Copy link

jclsn commented May 6, 2021

When I try running the preload environment, I get the following message:

ERROR: ld.so: object '/usr/local/lib/spotify-adblock.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by spotify)
ERROR: ld.so: object '/usr/local/lib/spotify-adblock.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/spotify-adblock.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
/opt/spotify/spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /opt/spotify/spotify)
/opt/spotify/spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /opt/spotify/spotify)
ERROR: ld.so: object '/usr/local/lib/spotify-adblock.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
/proc/self/exe: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /proc/self/exe)

Used to work befor the recent update, so no idea what happened.

@abba23
Copy link
Owner

abba23 commented May 6, 2021

If you installed the spotify-adblock or spotify-adblock-git package from the AUR, then spotify-adblock.so is located in /usr/lib, not /usr/local/lib. The correct command would be

LD_PRELOAD=/usr/lib/spotify-adblock.so spotify

@jclsn
Copy link
Author

jclsn commented May 6, 2021

Ah yes, I also have this is my .desktop file actually. I was just trying it out with the command from your README, because the adblocking would not work. If I use the right command I get

spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by spotify)
/opt/spotify/spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /opt/spotify/spotify)
/opt/spotify/spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /opt/spotify/spotify)
/proc/self/exe: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /proc/self/exe)

libcurl-gnutls is installed. I will keep the terminal open now and see what is printed into the terminal if the ad comes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants