Bug 244471 - net/guacamole-server fails to run
Summary: net/guacamole-server fails to run
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Richard Gallamore
Depends on:
Reported: 2020-02-27 14:34 UTC by stefan.witzel
Modified: 2020-04-03 07:46 UTC (History)
0 users

See Also:
ultima: maintainer-feedback+

The config.log (141.05 KB, text/plain)
2020-02-27 14:34 UTC, stefan.witzel
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description stefan.witzel 2020-02-27 14:34:03 UTC
Created attachment 211991 [details]
The config.log

I installed guacamole-server 1.1.0_1 from the ports (FBSD 12.1 amd64).

When I try to connect using ssh I get the error message

/usr/local/lib/libguac-client-ssh.so: Undefined symbol "libssh2_init"

nm shows that (all?) libssh2 symbols are undefined.

# /var/ports/usr/ports/net/guacamole-server/work # nm /usr/local/lib/libguac-client-ssh.so | fgrep libssh2
                 U libssh2_channel_close
                 U libssh2_channel_eof
                 U libssh2_channel_free
                 U libssh2_channel_open_ex
                 U libssh2_channel_process_startup
                 U libssh2_channel_read_ex
                 U libssh2_channel_request_pty_ex
                 U libssh2_channel_request_pty_size_ex
                 U libssh2_channel_send_eof
                 U libssh2_channel_setenv_ex
                 U libssh2_channel_write_ex
                 U libssh2_init
                 U libssh2_keepalive_config
                 U libssh2_keepalive_send
                 U libssh2_knownhost_checkp
                 U libssh2_knownhost_free
                 U libssh2_knownhost_init
                 U libssh2_knownhost_readfile
                 U libssh2_knownhost_readline
                 U libssh2_session_disconnect_ex
                 U libssh2_session_free
                 U libssh2_session_handshake
                 U libssh2_session_hostkey
                 U libssh2_session_init_ex
                 U libssh2_session_last_errno
                 U libssh2_session_last_error
                 U libssh2_session_set_blocking
                 U libssh2_sftp_close_handle
                 U libssh2_sftp_init
                 U libssh2_sftp_last_error
                 U libssh2_sftp_open_ex
                 U libssh2_sftp_read
                 U libssh2_sftp_readdir_ex
                 U libssh2_sftp_shutdown
                 U libssh2_sftp_stat_ex
                 U libssh2_sftp_write
                 U libssh2_userauth_keyboard_interactive_ex
                 U libssh2_userauth_list
                 U libssh2_userauth_password_ex
                 U libssh2_userauth_publickey

There are no problems with rdp connections (so I cannot perform further test in the moment :-; ).  I thínk there was also a problem installing the port: a missing "/" between stage and usr in a path name.  

Comment 1 Richard Gallamore freebsd_committer 2020-02-29 06:22:12 UTC
Hello Stefan,

I'm unable to reproduce this issue. How are you building the port? Is this using poudriere or from ports with a unclean environment? Please provide make.conf, and pkg query %o if using unclean environment.

I'm a bit confused about how the config is for 11.3, you mentioned that this was on 12.1.

My tests consisted of creating a 12.1R vm and installing guacamole-client via pkg. The configuration was just copying the sample config for guacamole and starting guacd and tomcat9 then using the sample config to connect via ssh on localhost.
Comment 2 Richard Gallamore freebsd_committer 2020-04-03 07:46:34 UTC
The reporter has timed out. If you are still having issues please reply back with more details.