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

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


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


On Wed, Nov 28, 2012 at 1:33 AM, Troy Benjegerdes <hozer@hozed.org> wrote:
> 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/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/libk=
rb5.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/lo=
cal/lib/libk5crypto.dylibignoring file /opt/local/lib/libcom_err.dylib, fil=
e 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 architect=
ure being linked (i386): /opt/local/lib/libcom_err.dylib
> _______________________________________________
> port-darwin mailing list
> port-darwin@openafs.org
> https://lists.openafs.org/mailman/listinfo/port-darwin
>



--=20
Derrick