Tom Hallewell
2002-Nov-26 17:22 UTC
[Samba] Re: 2.2.7 compile error using --with-acl-support
If you are using the debian/rules from apt-get or the source tarball, you need to not only include --with-acl-support in debian/rules, you also need to vi debian/config.cache --> replace "ac_cv_header_sys_acl_h=${ac_cv_header_sys_acl_h=no}" with "ac_cv_header_sys_acl_h=${ac_cv_header_sys_acl_h=yes}" This will allow it to compile. Unfortunately, for me, anyway, smbd,nmbd and winbindd are still not linking to libacl.so (according to ldd). The output is below. If you have any luck actually getting this to work once you have successfully compiled, please let me know. PS-thanks to Max for the link to his page http://homex.subnet.at/~max/comp-12_xfs.php Tom Hallewell Radio Free Asia Washington, DC USA obelyx:/tmp# ldd /usr/sbin/nmbd libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0x40017000) libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x40044000) libcups.so.2 => /usr/lib/libcups.so.2 (0x40105000) libnsl.so.1 => /lib/libnsl.so.1 (0x4011d000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x40131000) libdl.so.2 => /lib/libdl.so.2 (0x4015e000) libpam.so.0 => /lib/libpam.so.0 (0x40161000) libc.so.6 => /lib/libc.so.6 (0x40169000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) obelyx:/tmp# ldd /usr/sbin/winbindd libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0x40017000) libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x40044000) libcups.so.2 => /usr/lib/libcups.so.2 (0x40105000) libnsl.so.1 => /lib/libnsl.so.1 (0x4011d000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x40131000) libdl.so.2 => /lib/libdl.so.2 (0x4015e000) libpam.so.0 => /lib/libpam.so.0 (0x40161000) libc.so.6 => /lib/libc.so.6 (0x40169000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) obelyx:/tmp# ldd /usr/sbin/smbd libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0x40017000) libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x40044000) libcups.so.2 => /usr/lib/libcups.so.2 (0x40105000) libnsl.so.1 => /lib/libnsl.so.1 (0x4011d000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x40131000) libdl.so.2 => /lib/libdl.so.2 (0x4015e000) libpam.so.0 => /lib/libpam.so.0 (0x40161000) libc.so.6 => /lib/libc.so.6 (0x40169000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)> --__--__-- > > Message: 1 > Subject: Re: [Samba] 2.2.7 compile error using --with-acl-support > on debian > From: Francesco Mosca <askmosca@tin.it> > To: Frank =?ISO-8859-1?Q?Matthie=DF?= <fm+samba@Microdata-POS.de> > Cc: "'samba@lists.samba.org'" <samba@lists.samba.org> > Organization: > Date: 26 Nov 2002 17:17:20 +0100 > > Il mar, 2002-11-26 alle 13:44, Frank Matthie? ha scritto: > > On Sat, Nov 23, 2002 at 11:45:17AM +0100, Francesco Mosca wrote: > > > hi, i'm trying to package samba2.2.7 on a debian woody, using > > > --with-acl-support. the configure part seems ok, but when the compile > > > starts i get a lot of errors.. what's wrong? attached the > sensitive part > > > of the dpkg-buildpackage output. > > > thanks > > > > You have installed "libacl1" and "libacl1-dev" on compile system? > > > > libacl1-dev is not in woody yet, i was using acl-dev instead. anyway, i > just installed libacl1 and libacl1-dev from sid, but, even if this time > (i noticed) the configure says "Using posix ACLs", i got the same errors > at compile time... > >
Francesco Mosca
2002-Nov-27 09:23 UTC
[Samba] SOLVED: Re: 2.2.7 compile error using --with-acl-support
thanks! it worked. and for me: ~# ldd /usr/sbin/smbd libacl.so.1 => /lib/libacl.so.1 (0x40019000) ----------^ libcups.so.2 => /usr/lib/libcups.so.2 (0x4001f000) libnsl.so.1 => /lib/libnsl.so.1 (0x40037000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x4004b000) libdl.so.2 => /lib/libdl.so.2 (0x40078000) libpam.so.0 => /lib/libpam.so.0 (0x4007b000) libc.so.6 => /lib/libc.so.6 (0x40083000) libattr.so.1 => /lib/libattr.so.1 (0x4019f000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) so it seems ok. Thanks to all for your help Francesco Il mar, 2002-11-26 alle 18:19, Tom Hallewell ha scritto:> If you are using the debian/rules from apt-get or the source tarball, you > need to not only include > --with-acl-support in debian/rules, you also need to > > > vi debian/config.cache > --> replace "ac_cv_header_sys_acl_h=${ac_cv_header_sys_acl_h=no}" > with "ac_cv_header_sys_acl_h=${ac_cv_header_sys_acl_h=yes}" > > This will allow it to compile. > Unfortunately, for me, anyway, smbd,nmbd and winbindd are still not linking > to libacl.so (according to ldd). The output is below. > If you have any luck actually getting this to work once you have > successfully compiled, please let me know. > PS-thanks to Max for the link to his page > http://homex.subnet.at/~max/comp-12_xfs.php > > Tom Hallewell > Radio Free Asia > Washington, DC USA