Hi Mike,

I don't understand why you need to worry about this at all. The configure
script should set this up for you automagicly. 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

On 13-Sep-00 Mike Friedman wrote:
> On Wed Sep 13 06:57:53 2000, Carl J. Nobile said:
> 
>> Yes I have, I helped test it before it was released. It definitly uses
>> MIT's Kerberos
> 
> That's good to hear.  So the question is, what's my problem?  
> 
> I found that if I add more of my K5 libraries to the LIBS list in
> config.status (and then run it), I get fewer undefined symbols. 
> Finally,
> after adding every library in /usr/local/krb5-1.2.1/lib (where my K5
> 1.2.1
> stuff is installed), I got it down to just these two:
> 
> Undefined symbol            first referenced in file
> dn_expand                  
> /usr/local/krb5-1.2.1/lib/libkrb5.a(hst_realm.o)
> res_search                 
> /usr/local/krb5-1.2.1/lib/libkrb5.a(hst_realm.o)
> 
> Any ideas how to proceed now?
> 
> Thanks.
> 
> Mike
> 
> ========================
>> On 12-Sep-00 Jeffrey Altman wrote:
>>> Are you sure it was written to the MIT Kerberos 5 API and not
>>> Heimdal?
>>> 
>>> My guess is that since MIT Kerberos is not readily exportable that
>>> Heimdal was most likely used instead.  And they are no where near
>>> compatible.
> 
> ------------------------------------------------------------------------
> ----
> Mike Friedman                             [EMAIL PROTECTED]
> Communication & Network Services          +1-510-642-1410
> University of California at Berkeley     
> http://ack.Berkeley.EDU/~mikef
> ------------------------------------------------------------------------
> ----

------------------------------------------------------------------------
E-Mail: Carl J. Nobile <[EMAIL PROTECTED]>
Date: 13-Sep-00                             Phone: 315-453-2912 Ex. 5336
Time: 12:52:35                                Fax: 315-479-0859

Software Engineering Group -- AppliedTheory Corp.
224 Harrison Street, 6th Floor, Syracuse, NY  13202
------------------------------------------------------------------------

Reply via email to