nurupo / vlc-pause-click-plugin

Plugin for VLC that pauses/plays video on mouse click
GNU Lesser General Public License v2.1
914 stars 63 forks source link

Different $(libdir) path on Debian 9 "Stretch" amd64 #23

Closed Pleskan closed 7 years ago

Pleskan commented 7 years ago

You would use a different library path for plugin when using plugin with VLC on Debian 9. The correct path is _/usr/lib/x8664-linux-gnu/vlc/plugins , not just /usr/lib/vlc/plugins Please pay attention on this and correct for the sake of the Great Perfection :-)

nurupo commented 7 years ago

Interesting. I use the plugin on Debian 8. Does that mean that Debian has changed where things are on the file system between its versions, or was I putting the file in the wrong directory from the start?

Pleskan commented 7 years ago

Neither the first, nor the second, I guess sudo dpkg --add-architecture i386 may solve the issue. I will test this and report here.

Pleskan commented 7 years ago

No, it was wrong suggestion. Summarizing all mentioned above: when using amd64 version of VLC, place plugin file at _/usr/lib/x8664-linux-gnu/vlc/plugins You may reproduce the issue on virtual machine as well.

P.S. Some information for reference https://wiki.debian.org/Multiarch/Implementation

nurupo commented 7 years ago

Hm, looks like the paths have changed between Debian 8 and Debian 9.

E.g., the plugin binary from vlc-plugin-notify package in

I wonder what would be the best way to fix this. Is there some env. variable that specifies the right path on both of those systems?

nurupo commented 7 years ago

Looks like querying pkg-config about vlc-plugin's libdir location should be the most portable solution.

nurupo commented 7 years ago

Thanks for pointing this issue out. Just released a new version that has it fixed.

Pleskan commented 7 years ago

OK, many thanks for fast feedback. Cheers!