Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure: error: "libssh >= 0.7.0 not found" on ubuntu 14.04 #21

Open
bulleric opened this issue Mar 9, 2016 · 6 comments
Open

configure: error: "libssh >= 0.7.0 not found" on ubuntu 14.04 #21

bulleric opened this issue Mar 9, 2016 · 6 comments

Comments

@bulleric
Copy link

bulleric commented Mar 9, 2016

Hello I tried to compile tmate-slave on ubuntu 14.04

the dependency libssh-dev is installed but it still not found when i run configure.
Any advice?

Beste Regards

Eric

@lnxbil
Copy link

lnxbil commented Mar 19, 2016

Try to compile it yourself. I needed to do that on Debian Jessie.

@field-theory
Copy link

I had the same issue using Ubuntu Linux 14.04LTS. The reason is hidden in the config.log file: The version of libssh that ships on Ubuntu by default is version 0.6.* and thus is too old.

Unfortunately, you must manually install both libssh and msgpack-c (see the other issue on this subject).

@thselvam
Copy link

Hi @field-theory, could you please comment, how did you solved this libssh issue. I tried to compile and install from the master tree of libssh from git which is version 0.7.3 but I still get this ./configure error on my 14.04 macine.

Thanks in Advance!

@field-theory
Copy link

field-theory commented May 16, 2016

@thselvam I needed to manually install msgpack-c and libssh. For both I have set up temporary build directories and a common artifacts directory. Assuming the latter is ~/artifacts the files are built and configured as follows:

git clone [email protected]:msgpack/msgpack-c.git
cd msgpack-c ; ./configure --prefix=~/artifacts ; make install
git clone git://git.libssh.org/projects/libssh.git
mkdir tmp-build ; cd tmp-build
cmake -DCMAKE_INSTALL_PREFIX=~/artifacts -DCMAKE_BUILD_TYPE=Release ../libssh
make install

Then the tmate-slave can be built via

export PKG_CONFIG_PATH=~/artifacts/lib/pkgconfig/
cd tmate-slave
./autogen.sh
./configure
make

However, the resulting server does not work properly. :^(
I keep getting the same error message reported here: tmate-io/tmate#82

Presumably, there is another dependency that's broken on Ubuntu 14.04LTS. No idea which ones that is ...

@clindsey
Copy link

I followed the recipe from https://github.com/tmate-io/tmate-kitchen/blob/master/site-cookbooks/tmate_slave/recipes/libssh.rb and it completes without any errors but tmate still isn't able to find the newly installed version

@mikeblakeney
Copy link

@clindsey I had the same issue. In my case, I was using ubuntu, so I added the ppa mentioned here tmate-io/tmate#82 (comment) and was able to get tmate-slave built

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants