Bug 59809 - --with-nghttp2=dir looks in .../lib instead of .../lib64
Summary: --with-nghttp2=dir looks in .../lib instead of .../lib64
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Build (show other bugs)
Version: 2.4.23
Hardware: All Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-06 12:32 UTC by Friedrich Haubensak
Modified: 2018-11-23 12:01 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Friedrich Haubensak 2016-07-06 12:32:30 UTC
when doing "./configure ... --with-nghttp2=/some/directory ...", 
configure, to find nghttp2's build paramaters, sets PKG_CONFIG_PATH to /some/directory/lib/pkgconfig, which is wrong for e.g. a 64bit linux system as this has it's .pc files in .../lib64/pkgconfig (and installs libraries to .../lib64).  in the end, the generated build files are missing the neccessary 
-L/some/directory/lib64.

modules/http2/config2.m4 should be fixed so not to use unconditionally 
"${ap_nghttp2_base}/lib/pkgconfig/libnghttp2.pc"

btw., same problem is in acinclude.m4 in the code for --with-ssl