autofs-5.0.7 - add missing libtirpc lib to mount_nfs.so when TIRPC enabled From: Lan Yixun (dlan) this is need when libtirpc is enabled, otherwise autofs fail to start due to it can't find symbol clnt_dg_create (which is provided by libtirpc) autofs error log from /var/log/message: Jul 23 12:11:58 ofire automount[25699]: open_mount:244: parse(sun): cannot open mount module nfs (/usr/lib64/autofs/mount_nfs.so: undefined symbol: clnt_dg_create) Jul 23 12:11:58 ofire automount[25699]: lookup(file): failed to open parse context without this patch, mount_nfs.so fail link to libtirpc.so # ldd /usr/lib64/autofs/mount_nfs.so |grep tirpc with this patch applied: # ldd /usr/lib64/autofs/mount_nfs.so |grep tirpc libtirpc.so.1 => /lib64/libtirpc.so.1 (0x00007f7d94920000) Signed-off-by: Lan Yixun (dlan) --- CHANGELOG | 1 + modules/Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 296aaf8..679a469 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -62,6 +62,7 @@ - fix typo forced-shutdown should be force-shutdown. - fix hesiod check error and use correct $(LIBS) setting. - fix dead LDAP symbolic link when LDAP support is disabled. +- add missing libtirpc lib to mount_nfs.so when TIRPC enabled. 25/07/2012 autofs-5.0.7 ======================= diff --git a/modules/Makefile b/modules/Makefile index 8c0df18..e61e338 100644 --- a/modules/Makefile +++ b/modules/Makefile @@ -116,6 +116,6 @@ lookup_ldap.so: lookup_ldap.c dclist.o base64.o $(SASL_OBJ) mount_nfs.so: mount_nfs.c replicated.o $(CC) $(SOLDFLAGS) $(CFLAGS) -o mount_nfs.so \ - mount_nfs.c replicated.o $(AUTOFS_LIB) $(LIBNSL) + mount_nfs.c replicated.o $(AUTOFS_LIB) $(LIBNSL) $(TIRPCLIB) $(STRIP) mount_nfs.so