Re: undefined reference to... errors when compiling program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 27 Jun 2003, Andrew Yates wrote:

> You say to use libkrb5 for the valid_cksumtype error,
> which libkrb5 file do I use? I've tried libkrb5.a,
> libkrb5.so, and libkrb5.so.3 and the valid_cksumtype
> error remains.
> Also, is this the correct syntax?
> -L/usr/kerberos/lib/libkrb5.a
> I also tried -L/usr/kerberos/lib/libkrb5 but that
> didn't work either.

Nope.  -L/usr/kerberos/lib -lkrb5

You can also do /usr/kerberos/lib/libkrb5.a (note, no -L), but then you 
force the linker to use the static lib.  This might not be wrong, but let 
the linker decide what to take.

Cheers,

Michael




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux