Hi, I have download the latest version samba-3.0.13-1.src.rpm, and I have make followings changes: Rpm -i samba-3.0.13-1.src.rpm, so I have created the SPEC file. I have added --with-acl-support in the CFLAGS section in the SPEC file. Rpmbuild -bb specfile.spec. It compile the finally rpm without errors but when I install the package and make ldd /usr/sbin/smbd, I can't see libattr and libacl compiled in ... Where I wrong? Thanks. Marco.
On Tuesday 29 March 2005 08:00, Meli Marco wrote:> Hi, > I have download the latest version samba-3.0.13-1.src.rpm, and I have make > followings changes: > Rpm -i samba-3.0.13-1.src.rpm, so I have created the SPEC file. > I have added --with-acl-support in the CFLAGS section in the SPEC file. > Rpmbuild -bb specfile.spec. > It compile the finally rpm without errors but when I install the package > and make ldd /usr/sbin/smbd, I can't see libattr and libacl compiled in ... > Where I wrong? > Thanks. > Marco.Have the following packages been installed? libacl-devel libxattr-devel The compiler can only use the libraries that exist on the build machine. - John T. -- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production.
Meli Marco:> I have download the latest version samba-3.0.13-1.src.rpm, and I have make > followings changes: Rpm -i samba-3.0.13-1.src.rpm, so I have created the > SPEC file. > I have added --with-acl-support in the CFLAGS section in the SPEC file.This should be "--with-acl" according to my RH spec.> Rpmbuild -bb specfile.spec. > It compile the finally rpm without errors but when I install the package > and make ldd /usr/sbin/smbd, I can't see libattr and libacl compiled inIt compiles in the ststic libs ;) do "strings" on the binary instead, once you have the configure switch right and have recompiled. --Tonni -- mail: tonye@billy.demon.nl http://www.billy.demon.nl