Bug 2173 - configure fails to find libedit in non-standard location
Summary: configure fails to find libedit in non-standard location
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: 6.4p1
Hardware: All All
: P5 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_6_5
  Show dependency treegraph
 
Reported: 2013-11-22 10:25 AEDT by Serge van den Boom
Modified: 2015-08-11 23:04 AEST (History)
1 user (show)

See Also:


Attachments
Patch to have configure include '-L' linking parameters for libedit. (940 bytes, patch)
2013-11-22 10:25 AEDT, Serge van den Boom
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Serge van den Boom 2013-11-22 10:25:39 AEDT
Created attachment 2376 [details]
Patch to have configure include '-L' linking parameters for libedit.

Note: this bug is for version 6.4p1, which is not listed in the version choices in Bugzilla.

When building OpenSSH with a libedit which is not located in a standard location, 'configure --with-libedit' fails to pick it up.

The reason is that it uses 'pkg-config --libs-only-l libedit', instead of 'pkg-config --libs libedit', which causes the '-L/path/to/libedit' to be omitted.

A patch is attached.
Comment 1 Darren Tucker 2013-11-23 05:01:24 AEDT
add to the to-do list for 6.5p1

(In reply to Serge van den Boom from comment #0)
> Note: this bug is for version 6.4p1, which is not listed in the
> version choices in Bugzilla.

fixed.

thanks.
Comment 2 Darren Tucker 2013-12-05 11:01:22 AEDT
patch applied, thanks.  it will be in 6.5p1.
Comment 3 Damien Miller 2015-08-11 23:04:05 AEST
Set all RESOLVED bugs to CLOSED with release of OpenSSH 7.1