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

Reply via email to