AIX 4.3.3/OpenSSH 3.4p1 compile problem
David R. Steiner
david.r.steiner at Dartmouth.EDU
Thu Aug 8 04:44:53 EST 2002
I am having a problem building OpenSSH on my AIX 4.3.3 box. It fails
during the make with the following error:
xlc -o ssh ssh.o sshconnect.o sshconnect1.o sshconnect2.o
sshtty.o readconf.o clientloop.o -L. -Lopenbsd-compat/
-L/usr/local/ssl/lib -L/usr/local/lib -L/usr/local/lib
-L/usr/athena/lib -L/usr/afsws/lib
-blibpath:/usr/lib:/lib:/usr/local/lib:/usr/athena/lib -lssh
-lopenbsd-compat -lkafs -ldes -lkrb -lz -lcrypto -lld -ldes
ld: 0711-317 ERROR: Undefined symbol: .issuid
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: 1254-004 The error code from the last command is 8
Building against the following:
zlib 1.1.4
openssl 0.9.6d (compiled with xlc)
krb4-1.1.1 (compiled with xlc)
tcpwrappers 7.6
This is the output from configure:
OpenSSH has been configured with the following options:
User binaries: /usr/ssh/bin
System binaries: /usr/ssh/sbin
Configuration files: /etc/ssh
Askpass program: /usr/ssh/libexec/ssh-askpass
Manual pages: /usr/ssh/man/manX
PID file: /var/run
Privilege separation chroot path: /var/empty
sshd default user PATH:
/usr/bin:/bin:/usr/sbin:/sbin:/usr/afsws/bin:/usr/ssh/bin:/usr/local/bin
Manpage format: man
PAM support: no
KerberosIV support: yes
KerberosV support: no
Smartcard support: no
AFS support: yes
S/KEY support: no
TCP Wrappers support: yes
MD5 password support: no
IP address in $DISPLAY hack: no
Use IPv4 by default hack: yes
Translate v4 in v6 hack: no
BSD Auth support: no
Random number source: ssh-rand-helper
ssh-rand-helper collects from: Command hashing (timeout 200)
Host: powerpc-ibm-aix4.3.3.0
Compiler: xlc
Compiler flags: -g
Preprocessor flags: -I/usr/local/ssl/include -I/usr/local/include
-I/usr/local/include -I/usr/athena/include -I/usr/afsws/include
Linker flags: -L/usr/local/ssl/lib -L/usr/local/lib
-L/usr/local/lib -L/usr/athena/lib -L/usr/afsws/lib
-blibpath:/usr/lib:/lib:/usr/local/lib:/usr/athena/lib
Libraries: -lwrap -lkafs -ldes -lkrb -lz -lcrypto -lld -ldes
I did get one warning from configure but not sure if it is related:
checking if your system defines WTMPX_FILE... no
configure: WARNING: Please check and edit -blibpath in LDFLAGS in Makefile
configure: creating ./config.status
I have also tried compiling under gcc-3.1 (same configuration as
above without CC=xlc) and get the essentially the same error:
gcc -o ssh ssh.o sshconnect.o sshconnect1.o sshconnect2.o sshtty.o
readconf.o clientloop.o -L. -Lopenbsd-compat/ -L/usr/local/ssl/lib
-L/usr/local/lib -L/usr/local/lib -L/usr/athena/lib -L/usr/afsws/lib
-lssh -lopenbsd-compat -lkafs -ldes -lkrb -lz -lcrypto -lld -ldes
ld: 0711-317 ERROR: Undefined symbol: .issuid
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make: *** [ssh] Error 1
When I add -bloadmap to the LDFLAGS, I get:
gcc -o ssh ssh.o sshconnect.o sshconnect1.o sshconnect2.o sshtty.o
readconf.o clientloop.o -L. -Lopenbsd-compat/ -L/usr/local/ssl/lib
-L/usr/local/lib -L/usr/athena/lib -L/usr/afsws/lib -bloadmap -lssh
-lopenbsd-compat -lkafs -ldes -lkrb -lz -lcrypto -ll
ld: 0706-005 Cannot find or open file: libgcc.a
ld:open(): A file or directory in the path name does not exist.
ld: 0706-005 Cannot find or open file: libgcc_eh.a
ld:open(): A file or directory in the path name does not exist.
ld: 0706-005 Cannot find or open file: libgcc.a
ld:open(): A file or directory in the path name does not exist.
ld: 0706-005 Cannot find or open file: libgcc_eh.a
ld:open(): A file or directory in the path name does not exist.
make: *** [ssh] Error 1
libgcc.a and libgcc_eh.a exist in
/usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.1. I have tried
linking them back to /usr/local/lib but that changes nothing.
Any help would be greatly appreciated.
TIA
-David-
--
David R. Steiner david.r.steiner at dartmouth.edu
UNIX System Manager Phone: 603.646.3127
Dartmouth College Fax: 603.646.1041
More information about the openssh-unix-dev
mailing list