[ZBX-25704] Configure fails with libssh in a custom location Created: 2024 Dec 09  Updated: 2025 Jan 31  Resolved: 2025 Jan 30

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Proxy (P), Server (S)
Affects Version/s: 7.2.0rc3
Fix Version/s: 7.2.4rc1, 7.4.0alpha1

Type: Problem report Priority: Trivial
Reporter: Alex Kalimulin Assignee: Armands Arseniuss Skolmeisters
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 12h
Original Estimate: Not Specified

Team: Team C
Sprint: S24-W50/51/52/1, S25-W2/3, S25-W4/5
Story Points: 0.5

 Description   

Steps to reproduce:

Install latest libssh (0.11). Run configure:

$ ./configure --enable-server --enable-agent --enable-proxy \
    --enable-ipv6 --with-mysql --with-ssh=/home/alex/libssh ...

Result:

configure: error: SSH library version requirement not met (>= 0.6.0)

Expected:

Successful configuration.

Analysis:

Some libssh versions declare LIBSSH_VERSION_MAJOR/LIBSSH_VERSION_MINOR in libssh.h whereas others in libssh_version.h. libssh.m4 checks both places for includes in /usr/include but doesn't do the same in a custom path.



 Comments   
Comment by Armands Arseniuss Skolmeisters [ 2024 Dec 17 ]

Implemented in branch feature/ZBX-25704-7.3

Comment by Armands Arseniuss Skolmeisters [ 2025 Jan 28 ]

Available in versions:

Generated at Thu Apr 03 21:34:11 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.