bugzilla-daemon at mindrot.org
2014-Jul-29 22:48 UTC
[Bug 2261] New: configure looks in /usr/local for OpenSSL and zlib, even when --with-ssl-dir and --with-zlib are set
https://bugzilla.mindrot.org/show_bug.cgi?id=2261 Bug ID: 2261 Summary: configure looks in /usr/local for OpenSSL and zlib, even when --with-ssl-dir and --with-zlib are set Product: Portable OpenSSH Version: 6.6p1 Hardware: Other OS: Other Status: NEW Severity: normal Priority: P5 Component: Build system Assignee: unassigned-bugs at mindrot.org Reporter: sconeu at yahoo.com When configure checks for zlib, it automaticaly prepends /usr/local/lib to the linker search path, even when --with zlib is set. This messes up cross compiles on HP Nonstop. Similarly, when it's checking for OpenSSL, it does the same thing, even when --with-ssl-dir is set. Configure should check use the withval's for zlib and OpenSSL, and only if they're not specified, use /usr/local/[whatever]. -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2014-Jul-29 22:48 UTC
[Bug 2261] configure looks in /usr/local for OpenSSL and zlib, even when --with-ssl-dir and --with-zlib are set
https://bugzilla.mindrot.org/show_bug.cgi?id=2261 --- Comment #1 from sconeu at yahoo.com --- Or alternatively, at least put /usr/local at the END of the library search path instead of the front. -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2015-Jun-06 21:36 UTC
[Bug 2261] configure looks in /usr/local for OpenSSL and zlib, even when --with-ssl-dir and --with-zlib are set
https://bugzilla.mindrot.org/show_bug.cgi?id=2261 Michael Felt <aixtools at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aixtools at gmail.com --- Comment #2 from Michael Felt <aixtools at gmail.com> --- This not uncommon. I suspect it is in the autoconf code to always put it there as a possibility. However, looking through many config.log files I do believe it is convention to look at the --with... variables first. What I have also needed to do is add LDFLAGS to get the linking to do what I want/expect - this is how I have been able to keep /usr/local/anything out of anything I package. -- You are receiving this mail because: You are watching the assignee of the bug.
Apparently Analagous Threads
- [Bug 1467] New: SFTP stalls
- [Bug 2259] New: Checking for external _res fails
- [Bug 2370] New: make fails with "rmd160.c", line 35.10: 1506-296 (S) #include file <endian.h> not found. when using --without-openssl on AIX
- [Bug 2371] New: make check fails when using --without-openssl on AIX
- [Bug 2371] New: make check fails when using --without-openssl on AIX