bugzilla-daemon at mindrot.org
2012-Aug-05 22:47 UTC
[Bug 2030] New: build of 6.0p1 fails @ "/usr/bin/ld: unrecognized option '-Wl,-rpath,/usr/local/ssl/lib64"
https://bugzilla.mindrot.org/show_bug.cgi?id=2030 Priority: P5 Bug ID: 2030 Assignee: unassigned-bugs at mindrot.org Summary: build of 6.0p1 fails @ "/usr/bin/ld: unrecognized option '-Wl,-rpath,/usr/local/ssl/lib64" Severity: major Classification: Unclassified OS: Linux Reporter: pgn14 at fastmail.co.uk Hardware: All Status: NEW Version: 6.0p1 Component: Build system Product: Portable OpenSSH i'm upgrading to a build of openssh-6.0p1.tar.gz on linux/64 with gcc version 4.7.1 20120704 [gcc-4_7-branch revision 189248] (SUSE Linux) against a non-distro version of OpenSSL 1.0.1c 10 May 2012 installed at /usr/local/ssl exec of ./configure \ --prefix="/usr/local" \ --sysconfdir="/usr/local/etc/ssh" \ --with-ssl-dir="/usr/local/ssl" \ --with-tcp-wrappers \ --with-kerberos5=/usr/lib/mit \ --with-md5-passwords \ --with-xauth=/usr/bin/xauth --------------------------------------------------------- OpenSSH has been configured with the following options: User binaries: /usr/local/bin System binaries: /usr/local/sbin Configuration files: /usr/local/etc/ssh Askpass program: /usr/local/lib/ssh-askpass Manual pages: /usr/local/share/man/manX PID file: /var/run Privilege separation chroot path: /var/empty sshd default user PATH: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin Manpage format: doc PAM support: no OSF SIA support: no KerberosV support: yes SELinux support: no Smartcard support: S/KEY support: no TCP Wrappers support: yes MD5 password support: yes libedit support: no Solaris process contract support: no Solaris project support: no IP address in $DISPLAY hack: no Translate v4 in v6 hack: yes BSD Auth support: no Random number source: OpenSSL internal ONLY Privsep sandbox style: rlimit Host: x86_64-unknown-linux-gnu Compiler: /usr/bin/gcc-4.7 Compiler flags: -O2 -march=amdfam10 -mtune=amdfam10 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fno-builtin-memset -fstack-protector-all Preprocessor flags: -I/usr/local/ssl/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include Linker flags: -L/usr/local/ssl/lib -L/usr/local/ssl/lib -Wl,-rpath,/usr/local/ssl/lib -lssl -lcrypto -fstack-protector-all Libraries: -lcrypto -ldl -lutil -lz -lnsl -lcrypt -lresolv -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err +for sshd: -lwrap --------------------------------------------------------- then make ... /usr/bin/gcc-4.7 -O2 -march=amdfam10 -mtune=amdfam10 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fno-builtin-memset -fstack-protector-all -I. -I. -I/usr/local/ssl/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include -DSSHDIR=\"/usr/local/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/lib/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/lib/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/lib/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/local/lib/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -c roaming_client.c /usr/bin/ld -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect1.o sshconnect2.o mux.o roaming_common.o roaming_client.o -L. -Lopenbsd-compat/ -L/usr/local/ssl/lib64 -L/usr/local/ssl/lib64 -Wl,-rpath,/usr/local/ssl/lib64 -lssl -lcrypto -fstack-protector-all -lssh -lopenbsd-compat -lcrypto -ldl -lutil -lz -lnsl -lcrypt -lresolv -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err /usr/bin/ld: unrecognized option '-Wl,-rpath,/usr/local/ssl/lib64' /usr/bin/ld: use the --help option for usage information make: *** [ssh] Error 1 -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2012-Aug-06 00:55 UTC
[Bug 2030] build of 6.0p1 fails @ "/usr/bin/ld: unrecognized option '-Wl,-rpath,/usr/local/ssl/lib64"
https://bugzilla.mindrot.org/show_bug.cgi?id=2030 pgn14 at fastmail.co.uk changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #1 from pgn14 at fastmail.co.uk --- echo $LD /usr/bin/ld unset LD fixes the problem. -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2015-Aug-11 13:05 UTC
[Bug 2030] build of 6.0p1 fails @ "/usr/bin/ld: unrecognized option '-Wl,-rpath,/usr/local/ssl/lib64"
https://bugzilla.mindrot.org/show_bug.cgi?id=2030 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Damien Miller <djm at mindrot.org> --- Set all RESOLVED bugs to CLOSED with release of OpenSSH 7.1 -- You are receiving this mail because: You are watching the assignee of the bug.
Seemingly Similar Threads
- /usr/bin/ld: cannot find -ljs aka missing link from /usr/lib64/libjs.so to /usr/lib64/libjs.so.1
- vanilla build of 7.7p1 release on linux/4.17 fails with gcc8 @ "/usr/bin/ld: unrecognized option '-Wl,-z,retpolineplt'"
- vanilla build of 7.7p1 release on linux/4.17 fails with gcc8 @ "/usr/bin/ld: unrecognized option '-Wl,-z,retpolineplt'"
- vanilla build of 7.7p1 release on linux/4.17 fails with gcc8 @ "/usr/bin/ld: unrecognized option '-Wl,-z,retpolineplt'"
- vanilla build of 7.7p1 release on linux/4.17 fails with gcc8 @ "/usr/bin/ld: unrecognized option '-Wl,-z,retpolineplt'"