raedwulf / alsaequal

GNU Lesser General Public License v2.1
32 stars 13 forks source link

Gentoo: alsaequal searches in the wrong place for a moved library #2

Closed traceur920 closed 5 years ago

traceur920 commented 5 years ago

Hi, sorry to bring up an issue after so much time this project has been idle.

Gentoo has recently changed some profile settings and the compability symlink between /usr/lib and /usr/lib64 has been removed, but alsaequal seems to have the path where to search this library hardcoded. This makes alsaequal, on an x64 system, throw this error:

"Failed to load plugin "/usr/lib/ladspa/caps.so": /usr/lib/ladspa/caps.so: cannot open shared object file: No such file or directory"

As I'm barely able to read and understand the code, just enough to find this row _[pcmequal.c]:154 const char *library = "/usr/lib/ladspa/caps.so"; can i suggest to adapt this to consider also the "/usr/lib64/" directory? Or is there a more generic way of retrieving the caps.so library without knowing the exact position?

As this plugin is not actually officially supported by the Gentoo repository, but only through some overlays, feel free to do this changes or not, no big deal :) Thank you!

raedwulf commented 5 years ago

Hey, oh wow!

I'm not the original upstream but I think the original author abandoned this: https://github.com/charleseidsness/alsaequal

I didn't realise I became an upstream - I'll update the repository, I saw one of the forks from this repository has the necessary fix.

raedwulf commented 5 years ago

It should now be fixed.