[OpenAFS-devel] openafs master problem with OSX?

Troy Benjegerdes hozer@hozed.org
Wed, 28 Nov 2012 00:12:15 -0600


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/liboafs_rxkad.la ../../src/fsint/liboafs_fsint.la ../../src/vlserver/liboafs_vldb.la ../../src/cmd/liboafs_cmd.la ../../src/util/liboafs_util.la ../../src/opr/liboafs_opr.la \
		-lafshcrypto -lrokenafs -lresolv   -framework CoreFoundation -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/libkrb5.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 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /opt/local/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 architecture being linked (i386): /opt/local/lib/libcom_err.dylib