On Mon, Aug 22, 2016 at 2:39 PM, Thomas Bereknyei <[email protected]> wrote:
> Hi, > > I'm trying to package guacamole for NixOS. I ran into the following issue; > Tomcat is serving the client and serves the login page. Guacd is running > (compiled with ssh support) and I get the following errors. I can see that > the client can at least interact with the server, but the server doesn't > like the protocol, even though it was part of the compilation. > > guacd[1080]: INFO: Protocol "ssh" selected > guacd[1080]: WARNING: Support for selected protocol is not installed > > Is there anything unique about the way NixOS handles dlopen() (or the system linker path)? When a particular protocol is about to be used, guacd dynamically loads the "libguac-client-PROTOCOL.so" library. This is done via a call to dlopen(), which will search the system linker path for the library having that name. If SSH support was built, but guacd fails to find it at runtime, that must mean either: 1) The libguac-client-ssh.so library could not be found in the system linker path by dlopen(). or 2) libguac-client-ssh.so did not get linked properly during the build, and the linker thus cannot load it despite having otherwise found it successfully (unlikely) - Mike
