From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Douglas C. Stephens" Newsgroups: gmane.os.tru64.managers Subject: FOLLOW-UP: openssh build problem: Unresolved: xcrypt shadow_pw *** Exit 1 Stop. Date: Mon, 22 Mar 2004 10:18:31 -0600 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <6.0.1.1.2.20040322100927.04d71cd8@imap.ameslab.gov> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1079972349 17780 80.91.224.253 (22 Mar 2004 16:19:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 Mar 2004 16:19:09 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Mar 22 17:19:00 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1B5S8h-0004PE-00 for ; Mon, 22 Mar 2004 17:18:59 +0100 Original-Received: (qmail 29068 invoked by uid 5); 22 Mar 2004 16:18:53 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 29053 invoked by uid 49493); 22 Mar 2004 16:18:53 -0000 Original-Received: from stephens@ameslab.gov by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-1.0/5.0):. Processed in 1.070304 secs); 22 Mar 2004 16:18:53 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 22 Mar 2004 16:18:52 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HUZ00LN2JZEW3@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 22 Mar 2004 11:18:51 -0500 (EST) Original-Received: from alchemy.ameslab.gov (alchemy.ameslab.gov [147.155.6.118]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HUZ0049PJYYJV@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 22 Mar 2004 11:18:35 -0500 (EST) Original-Received: from CONVERSION-DAEMON.ameslab.gov by ameslab.gov (PMDF V6.2-X17 #30842) id <0HUZ00401JYXCN@ameslab.gov> for tru64-unix-managers@ornl.gov; Mon, 22 Mar 2004 10:18:33 -0600 (CST) Original-Received: from stephens-is.ameslab.gov (stephens-is.ameslab.gov [147.155.6.178]) by ameslab.gov (PMDF V6.2-X17 #30842) with ESMTP id <0HUZ003DCJYWGE@ameslab.gov> for tru64-unix-managers@ornl.gov; Mon, 22 Mar 2004 10:18:33 -0600 (CST) X-Sender: stephens@imap.ameslab.gov Original-To: tru64-unix-managers@ornl.gov X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Xref: main.gmane.org gmane.os.tru64.managers:6668 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6668 I tried this solution on my Tru64 4.0G systems using C2 enhanced security mode, and it didn't work. I think that is because Openssh requires the code segements activated by -with-osfsia in order to link in the correct libraries for accessing the protected password database, as well as for properly initiating SIA sessions required by the C2 ENHANCED security mode. Here are the before and after config phase summary screens comparing the effect of changing this configuation flag: --with-osfsia ------------- OpenSSH has been configured with the following options: User binaries: /usr/local/bin System binaries: /usr/local/sbin Configuration files: /etc Askpass program: /usr/local/libexec/ssh-askpass Manual pages: /usr/local/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: man PAM support: no KerberosV support: no Smartcard support: no S/KEY support: no TCP Wrappers support: yes MD5 password support: no IP address in $DISPLAY hack: no Translate v4 in v6 hack: no BSD Auth support: no Random number source: OpenSSL internal ONLY Host: alpha-dec-osf4.0g Compiler: cc Compiler flags: -O4 -tune host -arch host Preprocessor flags: -I/usr/local/include -I/usr/local/include Linker flags: -L/usr/local/lib -L/usr/local/lib Libraries: -lwrap -lcrypto -lrt -lz -lsecurity -ldb -lm -laud --without-osfsia ---------------- OpenSSH has been configured with the following options: User binaries: /usr/local/bin System binaries: /usr/local/sbin Configuration files: /etc Askpass program: /usr/local/libexec/ssh-askpass Manual pages: /usr/local/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: man PAM support: no KerberosV support: no Smartcard support: no S/KEY support: no TCP Wrappers support: yes MD5 password support: no IP address in $DISPLAY hack: no Translate v4 in v6 hack: no BSD Auth support: no Random number source: OpenSSL internal ONLY Host: alpha-dec-osf4.0g Compiler: cc Compiler flags: -O4 -tune host -arch host Preprocessor flags: -I/usr/local/include -I/usr/local/include Linker flags: -L/usr/local/lib -L/usr/local/lib Libraries: -lwrap -lcrypto -lrt -lz At 10:34 AM 3/19/2004, Minkov, Ross wrote: >Thanks to all that replied. Here is the solution I used. > >======================================== > >-----Original Message----- >From: Joerg Lehners [mailto:Joerg.Lehners@Informatik.Uni-Oldenburg.DE] >Sent: Friday, March 19, 2004 4:08 AM >To: Minkov, Ross >Subject: Re: openssh build problem: Unresolved: xcrypt shadow_pw *** >Exit 1 Stop. > > >Use --without-osfsia in the ./configure phase > > Sincerely, > Joerg > > >===================================== > > Thanks Joerg. That worked. > > >Regards, >Ross > > >-----Original Message----- >From: tru64-unix-managers-owner@ornl.gov >[mailto:tru64-unix-managers-owner@ornl.gov] On Behalf Of Minkov, Ross >Sent: Friday, March 19, 2004 1:04 AM >To: tru64-unix-managers@ornl.gov >Subject: openssh build problem: Unresolved: xcrypt shadow_pw *** Exit 1 >Stop. > > > >I tried to compile OpenSSH 3.8p1 on Tru64 UNIX V5.1B and ran into the >following problem: > >ld: >Unresolved: >xcrypt >shadow_pw >*** Exit 1 >Stop. > >========================================== > >I have already compiled and installed: >OpenSSL 0.9.7d was installed in /usr/local/ssl/ >zlib was installed in /usr/local (/usr/local/include/zlib.h) >GNU Awk (gawk) 3.1.3 was installed in /usr/local > >In the process I used: >Compaq C V6.5-011 on Compaq Tru64 UNIX V5.1B (Rev. 2650) >Compiler Driver V6.5-003 (sys) cc Driver >& >/usr/common/perl/bin/perl >v5.6.0 > > >OpenSSH was configured with: > >./configure --with-ssl-dir=/usr/local/ssl --with-zlib=/usr/local/include > >Here is the output after configure completed: >=============================================== > >OpenSSH has been configured with the following options: > User binaries: /usr/local/bin > System binaries: /usr/local/sbin > Configuration files: /usr/local/etc > Askpass program: /usr/local/libexec/ssh-askpass > Manual pages: /usr/local/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: man > PAM support: no > KerberosV support: no > Smartcard support: no > S/KEY support: no > TCP Wrappers support: no > MD5 password support: no > IP address in $DISPLAY hack: no > Translate v4 in v6 hack: no > BSD Auth support: no > Random number source: OpenSSL internal ONLY > > Host: alphaev6-dec-osf5.1 > Compiler: cc > Compiler flags: -g >Preprocessor flags: -I/usr/local/ssl/include -I/usr/local/include > Linker flags: -L/usr/local/ssl/lib -L/usr/local/include > Libraries: -lcrypto -lrt -lz -lsecurity -ldb -lm -laud > >================================================ > >make >... >... >... >cc -g -I. -I. -I/usr/local/ssl/include -I/usr/local/include >-DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" >-D_PATH_SSH_ASKPASS >_DEFAULT=\"/usr/local/libexec/ssh-askpass\" >-D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" >-D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysig >n\" -D_PATH_SSH_PIDDIR=\"/var/run\" >-D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" >-DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H > -c md5crypt.c >cc: Warning: openbsd-compat/fake-rfc2553.h, line 136: The redefinition >of the macro "getaddrinfo" conflicts with a current definition because >the number >of parameters is different. The redefinition is now in effect. >(macroredef) >#define getaddrinfo(a,b,c,d) (ssh_getaddrinfo(a,b,c,d)) >--------------------^ >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 aut >h-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 >loginre >c.o auth-pam.o auth-shadow.o auth-sia.o md5crypt.o -L. -Lopenbsd-compat/ >-L/usr/local/ssl/lib -L/usr/local/include -lssh -lopenbsd-compat >-lcrypto -lr >t -lz -lsecurity -ldb -lm -laud >ld: >Unresolved: >xcrypt >shadow_pw >*** Exit 1 >Stop. > > >Any help would be appreciated. > >Thanks, >Ross -- Douglas C. Stephens | Network/DNS/Unix/WinNT/VMS Administrator System Support Specialist | Postmaster / Webmaster Information Systems | Phone: (515) 294-6102 Ames Laboratory, US DOE | Email: stephens@ameslab.gov