Giter Site home page Giter Site logo

Comments (7)

abba23 avatar abba23 commented on May 31, 2024

Do you get the same error when manually building/installing it directly from this repo?

from spotify-adblock-linux.

LinArcX avatar LinArcX commented on May 31, 2024

Surprisingly this works:
LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify

But as you can see here, I put spotify-adblock.so in /usr/lib not in /usr/local/lib.
I'm confused!

from spotify-adblock-linux.

abba23 avatar abba23 commented on May 31, 2024

Looks like it's related to how Void Linux builds it then. There have been some changes to the Makefile in v1.1. Maybe there's something wrong with the updated template (the CFLAGS definition seems to be redundant now at least).

from spotify-adblock-linux.

LinArcX avatar LinArcX commented on May 31, 2024

Yeah, unfortunately someone who upgraded the application version, didn't notice(or care) to test the program against new changes. He just changed the version number and checksum and create the PR!

Anyway.. thank you so much for your help.

from spotify-adblock-linux.

LinArcX avatar LinArcX commented on May 31, 2024

Ok, i tried to update template file. But seems void-linux doesn't use /usr/local:

https://github.com/void-linux/void-packages/blob/091ab0b612d039891f4d549f9f054567bcef3627/common/hooks/pre-pkg/99-pkglint.sh#L24

from spotify-adblock-linux.

abba23 avatar abba23 commented on May 31, 2024

/usr is the correct location. /usr/local should only be used for manually installed packages that are not managed by your package manager.

from spotify-adblock-linux.

LinArcX avatar LinArcX commented on May 31, 2024

So, I removed line 14-20 from template file. By default it puts .so files here:
/usr/lib/spotify-adblock.so

Also tried to use it:

LD_PRELOAD=/usr/lib/spotify-adblock.so spotify
/bin/sh: symbol lookup error: /usr/lib/spotify-adblock.so: undefined symbol: dlerror

from spotify-adblock-linux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.