[OpenAFS-devel] openafs master problem with OSX?

Derrick Brashear shadow@gmail.com
Wed, 28 Nov 2012 07:31:13 -0500


same answer that went to port-darwin.

no point in asking twice.

PATH_KRB5_CONFIG=3D/usr/bin/krb5-config ./configure ....


On Wed, Nov 28, 2012 at 1:12 AM, Troy Benjegerdes <hozer@hozed.org> wrote:
> On Tue, Nov 27, 2012 at 02:04:22PM -0500, Derrick Brashear wrote:
>> A single link into the wiki entitled simply "Developer Info" doesn't
>> seem an unreasonable compromise
>> for information link this; I'd also like to add some debugging tips,
>> and while they don't belong on macos.html,
>> a link from there would be nice.
>
> next stupid question...
>
> How do I pick up the system Kerberos libs instead of grabbing the
> ones that MacPorts provided (that I seem to only have built for x86_64)
>
>
> ... part of the error....
>
>                 /Users/troy/src/openafs/lib/libafscp.a ../../src/rxkad/li=
boafs_rxkad.la ../../src/fsint/liboafs_fsint.la ../../src/vlserver/liboafs_=
vldb.la ../../src/cmd/liboafs_cmd.la ../../src/util/liboafs_util.la ../../s=
rc/opr/liboafs_opr.la \
>                 -lafshcrypto -lrokenafs -lresolv   -framework CoreFoundat=
ion -lresolv   -framework CoreFoundation \
>                  -L/opt/local/lib -dynamic -Wl,-search_paths_first -lkrb5=
 -lk5crypto -lcom_err -lresolv
> ld: warning: ld: warning: ld: warning: ignoring file /opt/local/lib/libkr=
b5.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe =
0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not =
the architecture being linked (i386): /opt/local/lib/libkrb5.dylibignoring =
file /opt/local/lib/libk5crypto.dylib, file was built for unsupported file =
format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0=
x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /opt/loc=
al/lib/libk5crypto.dylibignoring file /opt/local/lib/libcom_err.dylib, file=
 was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0=
 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architectu=
re being linked (i386): /opt/local/lib/libcom_err.dylib



--=20
Derrick