Re: [PATCH v5] Fix includes for userspace tools and libraries (and possible security issue)

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

 



On Thu, 2011-09-15 at 19:03 +0200, Guido Trentalancia wrote:
> Nope, with original from git.
> 
> With my patch everything works all right. Otherwise why did I create the
> patch in the first place ??

I don't know.  As I've said, make DESTDIR=~/out install worked fine
until recently, and with Eric's patch 1/2 to fix up the recent breakage
of the libselinux Makefile and my just-posted patch for the sandbox
Makefile, I can once again do a make DESTDIR=~/out install on a system
without the system -devel packages.

> I only forgot to mention the flags that I used:
> 
> CFLAGS="-O3 -march=corei7 -mtune=corei7" LIBDIR=/usr/lib64
> SHLIBDIR=/usr/lib64 DESTDIR=/opt/out make install

So it is picking up the wrong libs because you told it to do so by
separately specifying incompatible DESTDIR and LIBDIR/SHLIBDIR
definitions.  Either only specify DESTDIR and let it automatically
derive LIBDIR/SHLIBDIR underneath, or specify them all with the same
prefix.

-- 
Stephen Smalley
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux