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

lux-integ lux-integ at btconnect.com
Sun Nov 25 04:45:03 PST 2012


On Saturday 24 November 2012 23:13:10 Armin K. wrote:

> > sincerely
> > luxInteg
> > ps samba4 (rc) also fails to build because it  seems to depend on nfs4
> > being in place!
> 

> libcom_err.so is part of e2fsprogs and it should've been installed with
> make install and even make install-libs
Yes thanks you are absolutely correct. libcom_err is installed  as I did 
insall e2fsprog.  The static library is in /usr/lib and the shared one in 
/lib.

On Saturday 24 November 2012 23:13:10 Armin K. wrote:
> 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)
> 

AND Yes I have 
rpcbind-0.2.0
libevent-2.0.20
libnfsidmap-0.25
libgssapi-0.11
libgssglue-0.4 and librpcsecgss-0.19 installed  (in that order ) in 
prefix=/usr


And now when I pass these to configure:-

GSSGLUE_LIBS="-lgssglue" \
RPCSECGSS_CFLAGS="-I/usr/include/rpcsecgss/rpc" \
RPCSECGSS_LIBS="-lrpcsecgss" \
--with-tirpcinclude=/usr/include/tirpc

make goes a bit further but ends like  so:-

#########################
mv -f .deps/gssd-krb5_util.Tpo .deps/gssd-krb5_util.Po
/bin/sh ../../libtool --tag=CC   --mode=link gcc -Wall -Wextra -Wstrict-
prototypes  -pipe -march=amdfam10 -O2 -pipe -m64 -fPIC -
I/usr/include/rpcsecgss/rpc -I/usr/include/gssglue   -I/usr/local/include -
march=amdfam10 -O2 -pipe -m64 -fPIC  -ltirpc -L/usr/bin -L/usr/local/lib  -
L/usr/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 -lrpcsecgss -lgssglue -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/rpcsecgss/rpc -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/librpcsecgss.so 
/usr/lib/libgssglue.so -ldl -lkrb5 -lk5crypto -lcom_err
/usr/lib/librpcsecgss.so: undefined reference to `__rpc_thread_svc_fdset'
collect2: ld returned 1 exit status
make[2]: *** [gssd] Error 1

######################

all the tweaking I tried I still arrive at

"undefined reference to `__rpc_thread_svc_fdset "
=============================
               everytime



I installed the same thing a year or so ago with nfs-utils-1.2.3/4 and 
krb5-1.9.x.  I then struggled with rpcbind and in the end reverted to 
portmapper. 

 I am beginning to wander if  something is missing in /usr/include/tirpc

Suggestions welcomed

sincerely
luxinteg



More information about the blfs-support mailing list