[blfs-support] nfs-utils-1.2.6 libcom_err problem

Armin K. krejzi at email.com
Sat Nov 24 15:13:10 PST 2012


Dana 24.11.2012 22:46, lux-integ je napisao:
> Greetings
>
> I have been trying to compile nfs-utils-1.2.6   ( with nfs4/nfs4.1 and gssd )
> on a machine with these:-
>
> -cpu amd64 2 cores
> -os cblfs dev  linux-3.6.7,  gcc-4.6.3,  krb5-1.10.3
>
> make ends like so:-
>
> ####################
> bin/sh ../../libtool --tag=CC   --mode=link gcc -Wall -Wextra -Wstrict-
> prototypes  -pipe -march=amdfam10 -O2 -pipe -m64 -fPIC
> -I/usr/include/gssglue   -I/usr/local/include -march=amdfam10 -O2 -pipe -m64 -
> fPIC  -ltirpc
> -L/usr/bin -L/usr/local/lib -o gssd gssd-context.o gssd-context_mit.o gssd-
> context_heimdal.o gssd-context_lucid.o gssd-gss_util.o gssd-gss_oids.o gssd-
> err_util.o gssd-gssd.o gssd-gssd_main_loop.o gssd-gssd_proc.o gssd-krb5_util.o
> ../../support/nfs/libnfs.a  -lgssglue -ldl   -L/usr/local/lib -Wl,--enable-
> new-dtags -Wl,-rpath -Wl,/usr/local/lib -L/usr/lib -L/usr/local/lib -lkrb5 -
> lk5crypto -lcom_err
> libtool: link: gcc -Wall -Wextra -Wstrict-prototypes -pipe -march=amdfam10 -O2
> -pipe -m64 -fPIC -I/usr/include/gssglue -I/usr/local/include -march=amdfam10 -
> O2 -pipe -m64 -fPIC -o gssd gssd-context.o gssd-context_mit.o gssd-
> context_heimdal.o gssd-context_lucid.o gssd-gss_util.o gssd-gss_oids.o gssd-
> err_util.o gssd-gssd.o gssd-gssd_main_loop.o gssd-gssd_proc.o gssd-krb5_util.o
> -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/local/lib  /usr/lib/libtirpc.so -
> L/usr/lib -L/usr/local/lib
>   -lnsl -lpthread -L/usr/bin ../../support/nfs/libnfs.a /usr/lib/libgssglue.so
> -ldl -lkrb5 -lk5crypto -lcom_err
> gssd-gssd_proc.o: In function `create_auth_rpc_client':
> gssd_proc.c:(.text+0x119f): undefined reference to `authgss_create_default'
> gssd-gssd_proc.o: In function `process_krb5_upcall':
> gssd_proc.c:(.text+0x16ed): undefined reference to `authgss_get_private_data'
> collect2: ld returned 1 exit status
> make[2]: *** [gssd] Error 1
> make[2]: Leaving directory `/home/luxinteg/nfs-utils-1.2.6/utils/gssd'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/luxinteg/nfs-utils-1.2.6/utils'
> make: *** [all-recursive] Error 1
> #######################
>
> I checked my machine and there is no libcom_err (a or so ).  I would be
> grateful to know if  there is a workround i.e. patches available for nfs-utils
> that obviates the need for libcom_err.
>
> thanks in advance
>
> sincerely
> luxInteg
> ps samba4 (rc) also fails to build because it  seems to depend on nfs4 being
> in place!
>

I guess that authgss error is related to some libgsswhatever (I've never 
built nfs-stuff - I seem to be alergic at it - cifs is enough for me 
when needed).

I think that it might come from librpcsecgss library available from 
http://www.citi.umich.edu/projects/nfsv4/linux/ (so says google)

libcom_err.so is part of e2fsprogs and it should've been installed with 
make install and even make install-libs



More information about the blfs-support mailing list