| Summary: | 5.4p1 fails to build on SuSE 10 64bit with openssl/1.0.0 due to missing -L flag | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | sebastian.wenzler | ||||
| Component: | Build system | Assignee: | Assigned to nobody <unassigned-bugs> | ||||
| Status: | CLOSED FIXED | ||||||
| Severity: | major | CC: | djm, dtucker | ||||
| Priority: | P2 | ||||||
| Version: | 5.4p1 | ||||||
| Hardware: | amd64 | ||||||
| OS: | Linux | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 1708 | ||||||
| Attachments: |
|
||||||
|
Description
sebastian.wenzler
2010-04-14 16:31:34 AEST
cflags are compilation flags. I think you want: LDFLAGS="-L/app/openssl/1.0.0/LMWP2/lib64" ./configure ... or ./configure --ldflags="-L/app/openssl/1.0.0/LMWP2/lib64" ... (In reply to comment #1) > cflags are compilation flags. I think you want: > LDFLAGS="-L/app/openssl/1.0.0/LMWP2/lib64" ./configure ... > or > ./configure --ldflags="-L/app/openssl/1.0.0/LMWP2/lib64" ... Hi, configure --help|grep ldflags shows --with-ldflags not --ldflags --with-ldflags="-L/app/openssl/1.0.0/LMWP2/lib64" resolves the issue BUT openssh should look for the libraries in opensslrootdir/lib64 too, if this is the default library installation path of openssl 1.0.0 for an amd64 system. Why isnt LD_LIBRARY_PATH(LD_RUN_PATH) honored either? BR Sebastian (In reply to comment #1) > cflags are compilation flags. I think you want: > LDFLAGS="-L/app/openssl/1.0.0/LMWP2/lib64" ./configure ... > or > ./configure --ldflags="-L/app/openssl/1.0.0/LMWP2/lib64" ... Hi, configure --help|grep ldflags shows --with-ldflags not --ldflags --with-ldflags="-L/app/openssl/1.0.0/LMWP2/lib64" resolves the issue BUT openssh should look for the libraries in opensslrootdir/lib64 too, if this is the default library installation path of openssl 1.0.0 for an amd64 system. Why isnt LD_LIBRARY_PATH(LD_RUN_PATH) honored either? BR Sebastian ----------- ./configure --with-ssl-dir=/app/openssl/1.0.0/LMWP2 ... checking OpenSSL header version... 1000000f (OpenSSL 1.0.0 29 Mar 2010) checking OpenSSL library version... 90801f (OpenSSL 0.9.8a 11 Oct 2005) checking whether OpenSSL's headers match the library... no configure: error: Your OpenSSL headers do not match your library. Check config.log for details. If you are sure your installation is consistent, you can disable the check by running "./configure --without-openssl-header-check". Also see contrib/findssl.sh for help identifying header/library mismatches. if that's what openssl does by default (and it looks like it does) then configure should be able to handle that case. Created attachment 1841 [details]
openssh-ssl-lib64.patch
Check for the existence of a lib64 directory in the openssl install dir.
Patch has been committed and will be in the 5.6p1 release. Thanks for the report. Move resolved bugs to CLOSED after 5.7 release |