Hello Nick,
Thank you for the above suggestions. I am now able to build the guacamole
image with the latest libssh2 version.
I have one more query though.
If I want libssh ( instead of libssh2 ). What should I do? My
understanding is that I have to install libssh-dev instead of libssh2-1-dev
and make some changes in the configure script.
Can you please suggest the changes I need to make in configure script or
anywhere else to support ssh via libssh ( instead of libssh2 )? If you can
explain how libssh2 is even linked/configured with the guacamole
protocol that would be great as well.
Thank you in advance
L S Chetan Rao
On Sat, Jul 2, 2022 at 11:13 PM Nick Couchman <[email protected]> wrote:
> On Thu, Jun 30, 2022 at 10:08 AM Chetan Rao <[email protected]>
> wrote:
>
> >
> >
> > > On 30-Jun-2022, at 6:20 PM, Chetan Rao <[email protected]>
> wrote:
> > >
> > > Hello Nick,
> > > Thank you for sharing your thoughts.
> > >
> > > One follow-up question :
> > > 1. I want to compile the latest libssh2 version 1.10.0 with
> > guacamole. Currently, I have 1.10.0 installed in /usr/local/lib using the
> > configure and make install for libssh2. But I also have libssh2-1.4.0 in
> > /usr/lib64/ (using centos to build guacamole server). Now when I run
> > configure and make install for guacamole-server, it is getting installed
> > but I am not sure which libssh2 version it is taking for compiling. I am
> > guessing it is still taking the 1.4.0 present in /usr/lib64/. I am unable
> > to uninstall this 1.4.0 version as well. So I am not sure how to point
> > guacamole to use libssh2-1.10.0 version available and installed in
> > /usr/local/lib.
>
>
> You may need to specify some build flags to help with this - something
> like:
> env CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" ./configure
>
> You also might want to try uninstalling the libssh2-dev or libssh2-devel
> package, depending on your Linux distribution, to make sure that it doesn't
> get picked up.
>
> -Nick
>