[OpenAFS-port-darwin] System kerberos libs vs macports

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


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)

 
 		/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