[Bug 2985] Building openssh-portable on OpenBSD 6.4 with Kerberos
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Sat Mar 23 04:51:17 AEDT 2019
https://bugzilla.mindrot.org/show_bug.cgi?id=2985
--- Comment #7 from Markus <markus at blueflash.cc> ---
When I fix the above (config.h ... #define KRB5_FREE_ERRROR_MESSAGE) it
compiles, but the linker fails:
.......
gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o
sshconnect2.o mux.o -L. -Lopenbsd-compat/ -Wl,-z,retpolineplt
-Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -fstack-protector-strong
-pie -lssh -lopenbsd-compat -lcrypto -lutil -lz
-Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/local/heimdal/lib
-L/usr/local/heimdal/lib -lgssapi
/usr/bin/ld: warning: libcom_err.so.21.0, needed by
/usr/local/heimdal/lib/libgssapi.so.9.0, not found (try using -rpath or
-rpath-link)
/usr/local/heimdal/lib/libhcrypto.so.0.0: warning: rand() may return
deterministic values, is that what you want?
/usr/local/heimdal/lib/libkrb5.so.22.0: undefined reference to
`com_right'
/usr/local/heimdal/lib/libkrb5.so.22.0: undefined reference to
`com_right_r'
/usr/local/heimdal/lib/libgssapi.so.9.0: undefined reference to
`_et_list'
/usr/local/heimdal/lib/libkrb5.so.22.0: undefined reference to
`error_message'
/usr/local/heimdal/lib/libkrb5.so.22.0: undefined reference to
`free_error_table'
collect2: ld returned 1 exit status
*** Error 1 in /usr/src/usr.bin/openssh-7.9p1-orig (Makefile:172 'ssh')
mschmidt:/usr/src/usr.bin/openssh-7.9p1-orig:8$
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
More information about the openssh-bugs
mailing list