Narendra Raavi
2004-Mar-27 19:10 UTC
Problems Compiling sshd - OpenSSH 3.8p1 on Tru64 UNIX V4.0F PK#7 (OSF)
I am trying to compile sshd 3.8p1 on Tru64 UNIX V4.0F Patch Level 7. Previously I've compiled the entire 3.6.1p2 distribution with no problems. The problem seems to occur when linking sshd. The linker is unable to find xcrypt and shadow_pw functions (openbsd-compat/*.c). The libopenbsd-compat seems to have built without errors. I configure as follows: CC=cc CFLAGS=-O LDFLAGS=-non_shared ./configure --prefix=/opt/ssh --with-prngd-socket =/var/run/egd-pool --with-ssl-dir=/opt/ssh --with-zlib=/opt/zlib cc -o sshd sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o sshpty.o sshlogin.o servconf.o serverloop.o uidswap.o auth.o auth1.o auth2.o auth-options.o session.o auth-chall.o auth2-chall.o groupaccess.o auth-skey.o auth-bsdauth.o auth2-hostbased.o auth2-kbdint.o auth2-none.o auth2-passwd.o auth2-pubkey.o monitor_mm.o monitor.o monitor_wrap.o monitor_fdpass.o kexdhs.o kexgexs.o auth-krb5.o auth2-gss.o gss-serv.o gss-serv-krb5.o loginrec.o auth-pam.o auth-shadow.o auth-sia.o md5crypt.o -L. -Lopenbsd-compat/ -L/opt/ssh/lib -L/opt/zlib/lib -non_shared -lssh -lopenbsd-compat -lcrypto -lrt -lz -lsecurity -ldb -lm -laud ld: Error: Undefined: xcrypt shadow_pw *** Exit 1 Stop. Any help debugging this would be appreciated. Thank you, N
Ben Lindstrom
2004-Mar-27 19:34 UTC
Problems Compiling sshd - OpenSSH 3.8p1 on Tru64 UNIX V4.0F PK#7 (OSF)
We are aware of this and it has been solved. http://bugzilla.mindrot.org/show_bug.cgi?id=802 when 3.8.1p1 is released it will included this fix. - Ben On Sat, 27 Mar 2004, Narendra Raavi wrote:> > I am trying to compile sshd 3.8p1 on Tru64 UNIX V4.0F Patch Level 7. > Previously I've compiled the entire 3.6.1p2 distribution with no problems. > The problem seems to occur when linking sshd. The linker is unable to find > xcrypt and shadow_pw functions (openbsd-compat/*.c). The libopenbsd-compat > seems to have built without errors. I configure as follows: > > CC=cc CFLAGS=-O LDFLAGS=-non_shared ./configure --prefix=/opt/ssh > --with-prngd-socket =/var/run/egd-pool --with-ssl-dir=/opt/ssh > --with-zlib=/opt/zlib > > cc -o sshd sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o > sshpty.o sshlogin.o servconf.o serverloop.o uidswap.o auth.o auth1.o > auth2.o auth-options.o session.o auth-chall.o auth2-chall.o groupaccess.o > auth-skey.o auth-bsdauth.o auth2-hostbased.o auth2-kbdint.o auth2-none.o > auth2-passwd.o auth2-pubkey.o monitor_mm.o monitor.o monitor_wrap.o > monitor_fdpass.o kexdhs.o kexgexs.o auth-krb5.o auth2-gss.o gss-serv.o > gss-serv-krb5.o loginrec.o auth-pam.o auth-shadow.o auth-sia.o md5crypt.o > -L. -Lopenbsd-compat/ -L/opt/ssh/lib -L/opt/zlib/lib -non_shared -lssh > -lopenbsd-compat -lcrypto -lrt -lz -lsecurity -ldb -lm -laud > ld: > Error: Undefined: > xcrypt > shadow_pw > *** Exit 1 > Stop. > > > Any help debugging this would be appreciated. > > Thank you, > > N > > > _______________________________________________ > openssh-unix-dev mailing list > openssh-unix-dev at mindrot.org > http://www.mindrot.org/mailman/listinfo/openssh-unix-dev >
Seemingly Similar Threads
- [Bug 802] sshd of openssh-3.8p1 doesn't link on Tru64.
- Openssh use enumeration
- greater than 8 character passwords on Unixware (IA database support)
- [Bug 1083] Disable login for locked account
- [Bug 807] Compilation failure--> ld: Unresolved: xcrypt shadow_pw