| Summary: | >x11-misc/synergy-1.7.0 should install libns.so in a plugins directory (where it can be found) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jeremy Banks <Korethr> |
| Component: | Current packages | Assignee: | Michał Górny <mgorny> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | dschridde+gentoobugs, wyvern5 |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Jeremy Banks
2015-05-28 21:41:43 UTC
This is probably because we're using our own install rules. I see such a plugin is being built. Its because the default configuration of Synergy is to download libns.so from the web and install it into your home directory. Because Gentoo isn't a supported distribution of Synergy you see the error message in the wizard. http://synergy-project.org/wiki/Plugins You can change where Synergy looks for plugins by passing --plugin-dir but this would be a huge pain for users. I've opened to ask Synergy to support searching a system installed location https://github.com/synergy/synergy/issues/4880 I've worked around this by copying libns.so out of the Gentoo build environment into ~/.synergy/plugins Can we at least install the plugin somewhere via the normal build so I can launch synergy with --plugin-dir manually? *** Bug 577218 has been marked as a duplicate of this bug. *** It should be safe to install into /usr/<libdir>/synergy/plugins but maybe that needs a patch as by default ../synergy/plugins/ is searched, which would assume that /usr/bin is the CWD. But there is more trouble: if you have other plugins installed in $HOME/.synergy/plugins/ then the /usr/<libdir>/synergy/plugins/ directory is ignored while searching for plugins. So you'd have to copy the plugins (i.e. libns.so) from there to your local directory, too, for the local plugins to be used, and then manually set the plugins directory. 1.8.1-r1 installs just that, but you will have to tell synergy to find it in /usr/<libdir>/synergy/plugins manually for now. Anyone want to come up with a proper patch? :) Shared libraries on Linux are normally +x, so that should have been doexe, not doins. But then the insinto should be changed to exeinto in the previous line. Right now libns.so gets installed into / (the root directory). Ugh, you're right. (In reply to Akos Szalkai from comment #9) > But then the insinto should be changed to exeinto in the previous line. > Right now libns.so gets installed into / (the root directory). So that's in -r3. Comment #11 from 3.5 years ago suggests that this is fixed. Is that correct? Feel free to reopen if there's still a problem. |