[Bug 2030] New: build of 6.0p1 fails @ "/usr/bin/ld: unrecognized option '-Wl,-rpath,/usr/local/ssl/lib64"

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Aug 6 08:47:16 EST 2012


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.


More information about the openssh-bugs mailing list