OpenSSH and support for KTH-Krb4

Christer Jansson jancs at dsv.su.se
Wed Apr 24 19:29:50 EST 2002


Hello,

I have tried to compile openssh-3.1p1 and then two
later snapshots. It seems that I can not have support
for KTH-Krb4, according to this errorlist from make:

gcc -o ssh ssh.o sshconnect.o sshconnect1.o sshconnect2.o sshtty.o
readconf.o clientloop.o -L. -Lopenbsd-compat/ -R/usr/local/ssl/lib
-L/usr/local/ssl/lib  -L/usr/local/lib -R/usr/local/lib -L/usr/athena/lib
-R/usr/athena/lib -lssh -lopenbsd-compat -lresolv -ldes -lkrb -lz -lsocket
-lnsl  -lcrypto -ldes
ld: fatal: symbol `des_key_sched' is multiply-defined:
        (file /usr/athena/lib/libdes.a(set_key.o) and file
/usr/local/ssl/lib/libcrypto.a(set_key.o));
ld: fatal: symbol `des_is_weak_key' is multiply-defined:
        (file /usr/athena/lib/libdes.a(set_key.o) and file
/usr/local/ssl/lib/libcrypto.a(set_key.o));
ld: fatal: symbol `des_set_key' is multiply-defined:
        (file /usr/athena/lib/libdes.a(set_key.o) and file
/usr/local/ssl/lib/libcrypto.a(set_key.o));
ld: fatal: symbol `des_set_odd_parity' is multiply-defined:
        (file /usr/athena/lib/libdes.a(set_key.o) and file
/usr/local/ssl/lib/libcrypto.a(set_key.o));
ld: fatal: symbol `des_check_key' is multiply-defined:
        (file /usr/athena/lib/libdes.a(set_key.o) and file
/usr/local/ssl/lib/libcrypto.a(set_key.o));
ld: fatal: File processing errors. No output written to ssh
collect2: ld returned 1 exit status

This is a conflict then, between /usr/local/ssl/lib/ and
/usr/athena/lib.

My system is Solaris 7 sun4u sparc SUNW,Ultra-5_10 and
my configure params was:

./configure --prefix=/usr --with-kerberos4=/usr/athena --without-pam
--with-tcp-wrappers --sysconfdir=/etc

No, how can I solve this? Is there any workaround known i the
community of OpenSHH? Any advice is welcome off course.

Best Regards....


//Christer J





More information about the openssh-unix-dev mailing list