[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Backporting SELinux to woody

On Wed, 10 Mar 2004 21:26, "Milan P. Stanic" <mps@rns-nis.co.yu> wrote:
> > There have been some changes to the way libxattr works.  From memory I
> > think that you needed an extra -l option on the link command line when
> > compiling with old libc6.  I can't remember whether it was linking the
> > PAM module or libselinux that needed it (or maybe both).
> I already found that -lattr should be added to Makefiles in
> policycoreutils-1.6 to build it and to Makefile for pam_unix module
> into libpam. I also think that the same should be done in
> libselinux1-1.6 and even looked through Makefiles there, but didn't
> found where and how to link libattr to libselinux1. That because I
> don't know how to build libraries i.e. I know ./configure && make
> or fakeroot debian/rules binary for libraries but I don't know
> low-level work.
> So, the question: how can I link libattr to libselinux1?

Edit src/Makefile and add -lattr in the $(CC) line for $(LIBSO).

http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page

Reply to: