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
Received on Fri Mar 19 2004 - 06:06:30 NZDT