I'm still having the same problem as Reynald even after appying the
fix described, any ideas ?
This is Mandrake 10.0, kernel 2.6.6, zlib and zlib-devel is installed.
This is a student environment in an AD network, home directories
resides on a W2003 server and will be mounted using CIFS.
Knut
...
/bin/sh ../libtool --mode=link gcc -g -Werror -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -g -O2 -o pmvarrun -lglib-2.0 pmvarrun.o
misc-nolibtool.o fmt_ptrn-nolibtool.o modifiers-nolibtool.o
common-nolibtool.o buffer-nolibtool.o template-nolibtool.o
pair-nolibtool.o
-lcrypto
gcc -g -Werror -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g
-O2 -o
pmvarrun pmvarrun.o misc-nolibtool.o fmt_ptrn-nolibtool.o
modifiers-nolibtool.o common-nolibtool.o buffer-nolibtool.o
template-nolibtool.o pair-nolibtool.o /usr/lib/libglib-2.0.so -lcrypto
fmt_ptrn-nolibtool.o(.text+0x1b63): In function `fmt_ptrn_open':
/home/kc/downloads/pam_mount-0.9.20/src/fmt_ptrn-nolibtool.c:693:
undefined
reference to `gzopen'
fmt_ptrn-nolibtool.o(.text+0x1c42): In function `fmt_ptrn_gets':
/home/kc/downloads/pam_mount-0.9.20/src/fmt_ptrn-nolibtool.c:722:
undefined
reference to `gzgets'
fmt_ptrn-nolibtool.o(.text+0x1dc4): In function `fmt_ptrn_close':
/home/kc/downloads/pam_mount-0.9.20/src/fmt_ptrn-nolibtool.c:770:
undefined
reference to `gzclose'
modifiers-nolibtool.o(.text+0x628): In function `apply_file':
/home/kc/downloads/pam_mount-0.9.20/src/modifiers-nolibtool.c:241:
undefined
reference to `gzopen'
modifiers-nolibtool.o(.text+0x665):/home/kc/downloads/pam_mount-0.9.20/src/mo
difiers-nolibtool.c:245: undefined reference to `gzgets'
modifiers-nolibtool.o(.text+0x675):/home/kc/downloads/pam_mount-0.9.20/src/mo
difiers-nolibtool.c:246: undefined reference to `gzclose'
collect2: ld returned 1 exit status
make[2]: *** [pmvarrun] Error 1
make[2]: Leaving directory `/home/kc/downloads/pam_mount-0.9.20/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kc/downloads/pam_mount-0.9.20'
make: *** [all] Error 2
address@hidden pam_mount-0.9.20]$ more src/Makefile.am | grep pmvar
sbin_PROGRAMS = pmvarrun
pmvarrun_SOURCES = pmvarrun.c misc-nolibtool.c fmt_ptrn-nolibtool.c
modifiers-nolibtool.c common-nolibtool.c buffer-nolibtool.c
template-nolibtool.c pair-nolibtool.c
pmvarrun_LDFLAGS = -lz $(GLIB_LIBS)
> Re: [Pam-mount-devel] Problem with pam_mount compilation
> From: reynald . borer
> Subject: Re: [Pam-mount-devel] Problem with pam_mount compilation
> Date: Fri, 13 Aug 2004 18:43:31 +0200
> User-agent: Internet Messaging Program (IMP) 3.2.5
>
> Thanks, that did it.
>
> Pam_mount is really a great feature, I'm using it in an Active Directory
network
> and it works really well. Thanks for this really great and useful
project.
>
> Reynald
>
> Quoting "W. Michael Petullo" <address@hidden>:
>
> > > I'm having a problem with pam_mount compilation. The error seems
related
> > > to zlib, but zlib is installed (version 1.2.1). My system is a
Gentoo
> > > Linux (latest version), so there is no need to install some
zlib-devel
> > > package...
> >
> > Try adding "-lz" to pmvarrun_LDFLAGS in src/Makefile.am. I thought I
> > already fixed that.
> >
> > --
> > Mike
> >
> >
------------------------------------------------------------------------
_______________________________________________
Pam-mount-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/pam-mount-devel