I am trying to build openssh-2.5.1p2 on a Solaris 7 system.  Here is my
configure line:

./configure --prefix=/usr/local/openssh --with-ssl-dir=/usr/local/ssl
--with-kerberos4=/usr/athena --with-afs=/usr/afsws --with-tcp-wrappers

And here is what happens during the make:

<makes fine up to here>
cc -o ssh ssh.o sshconnect.o sshconnect1.o sshconnect2.o log-client.o
readconf.o clientloop.o -L. -Lopenbsd-compat/  -L/usr/local/lib
-R/usr/local/lib -L/usr/athena/lib -R/usr/athena/lib -L/usr/afsws/lib
-L/usr/local/ssl/lib -R/usr/local/ssl/lib -lssh -lopenbsd-compat -lwrap
-lresolv -lkrb -lz -lsocket -lnsl  -lgen -lkafs -lkrb -ldes -lcrypto
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: 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_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_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: File processing errors. No output written to ssh
make: *** [ssh] Error 1

I have tried adding a "-z muldefs" to the LDFLAGS, the make then
finishes but
the make install core dumps.  Any good suggestions or work arounds
welcome.

TIA,
Jaime

Reply via email to