Subject: Re: still build problems
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Rick Kelly <rmk@toad.rmkhome.com>
List: netbsd-users
Date: 03/19/2004 04:07:22
Izumi Tsutsui said:

>See src/UPDATING.

20030801:
        With the new openssl, there is some header and library shuffling.
        rm -f /usr/include/des.h /usr/include/kerberosIV/* /lib/libdes* \
        /usr/lib/libdes* before building.

Tried that and it doesn't help.

/usr/src/tooldir.NetBSD-1.6ZK-i386/lib/gcc-lib/i386--netbsdelf/3.3.3/../../../../i386--netbsdelf/bin/ld: warning: libdes.so.7, needed by /usr/obj/destdir.i386/usr/lib/libkrb.so, not found (try using -rpath or -rpath-link)
/usr/obj/destdir.i386/usr/lib/libkrb.so: undefined reference to `des_pcbc_encrypt'
/usr/obj/destdir.i386/usr/lib/libkrb.so: undefined reference to `des_new_random_key'
/usr/obj/destdir.i386/usr/lib/libkrb.so: undefined reference to `des_key_sched'
/usr/obj/destdir.i386/usr/lib/libkrb.so: undefined reference to `des_read_pw_string'
/usr/obj/destdir.i386/usr/lib/libkrb.so: undefined reference to `des_set_key'
/usr/obj/destdir.i386/usr/lib/libkrb.so: undefined reference to `des_cbc_cksum'
/usr/obj/destdir.i386/usr/lib/libkrb.so: undefined reference to `des_quad_cksum'
/usr/obj/destdir.i386/usr/lib/libkrb.so: undefined reference to `des_ecb_encrypt'
/usr/obj/destdir.i386/usr/lib/libkrb.so: undefined reference to `des_string_to_key'
/usr/obj/destdir.i386/usr/lib/libkrb.so: undefined reference to `des_fixup_key_parity'

roothog# ls -l /usr/obj/destdir.i386/usr/lib/libdes*
-r--r--r--  1 root  wheel  56194 Mar 19 02:58 /usr/obj/destdir.i386/usr/lib/libdes.a
lrwxr-xr-x  1 root  wheel     13 Mar 19 02:58 /usr/obj/destdir.i386/usr/lib/libdes.so -> libdes.so.7.0
lrwxr-xr-x  1 root  wheel     13 Mar 19 02:58 /usr/obj/destdir.i386/usr/lib/libdes.so.7 -> libdes.so.7.0
-r--r--r--  1 root  wheel  43516 Mar 19 02:58 /usr/obj/destdir.i386/usr/lib/libdes.so.7.0
-r--r--r--  1 root  wheel  58958 Mar 19 02:58 /usr/obj/destdir.i386/usr/lib/libdes_p.a
-r--r--r--  1 root  wheel  63528 Mar 19 02:58 /usr/obj/destdir.i386/usr/lib/libdes_pic.a

It was built and exists.
-- 
Rick Kelly  rmk@rmkhome.com  www.rmkhome.com