On Wed Sep 13 09:59:11 2000, Carl J. Nobile said:

> I don't understand why you need to worry about this at all. The configure
> script should set this up for you automagicly.

But that's just it, it didn't!  And I don't think it's just the order,
since some of the undefined symbols were, I believe, from libk5crypto,
which definitely was not part of the LIBS list that configure built!

I tried starting over, running configure and then manually adding in just
-lresolv, -lcom_err and -lk5crypto.  Now I get this message when I run make:

    collect2: ld terminated with signal 10 [Bus Error], core dumped

This time, not even a list of undefined symbols!

As I said earlier, my system is Solaris 7.

The only Kerberos library appearing in the list that configure created
was libkrb5.  Even libcom_err was missing.  So something is clearly not
right with what configure is doing.

Mike

=================================
However, undefined symbol
> problems are often caused by libs being searched by the linker (loader)
> out of order, so try changing the order that the libs are defined in. My
> sshd binary looks like this on linux.
> 
> $ ldd /usr/local/sbin/sshd2 
>         libkrb5.so.2 => /usr/local/kerberosV/lib/libkrb5.so.2 (0x4001b000)
>         libtermcap.so.2 => /lib/libtermcap.so.2 (0x4007e000)
>         libnsl.so.1 => /lib/libnsl.so.1 (0x40082000)
>         libcrypt.so.1 => /lib/libcrypt.so.1 (0x40098000)
>         libncurses.so.4 => /usr/lib/libncurses.so.4 (0x400c5000)
>         libutil.so.1 => /lib/libutil.so.1 (0x40104000)
>         libk5crypto.so.2 => /usr/local/kerberosV/lib/libk5crypto.so.2
> (0x40107000)
>         libcom_err.so.3 => /usr/local/kerberosV/lib/libcom_err.so.3
> (0x40122000)        libc.so.6 => /lib/libc.so.6 (0x40124000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> 
> This, as far as I know, should be the same order that they need to be
> linked in.
> 
> Carl

----------------------------------------------------------------------------
Mike Friedman                             [EMAIL PROTECTED]
Communication & Network Services          +1-510-642-1410
University of California at Berkeley      http://ack.Berkeley.EDU/~mikef
----------------------------------------------------------------------------

Reply via email to