On 2013-12-16 09:28:50, Tyler Hicks wrote:
> On 2013-12-14 13:12:31, Jeroen Ooms wrote:
> > This is perhaps more of a debian question, but hopefully someone can help.
> > I am using the 'whereis' command in the configure script for the RAppArmor
> > package [1] to detect the location of libapparmor.so to put it in Makevars.
> > I tested this and it worked on Ubuntu, Debian and OpenSuse, until recently.
> > 
> > However, a user has brought to my attention that in Debian (testing)
> > Jessie, this no longer works. I tried this on EC2 and I get:
> > 
> > root@ip-10-137-12-151:/usr/lib# find / -name 'libapparmor.so'
> > /usr/lib/x86_64-linux-gnu/libapparmor.so
> > 
> > Is it correct that the location of libapparmor.so has changed?
> 
> Yes - It is caused by multiarch support in newer Debian/Ubuntu
> libapparmor packages.

Here's some more information on multiarch:

http://www.debian.org/doc/manuals/maint-guide/advanced.en.html#multiarch

Tyler

> 
> > What would be a better method to use in my configure script to detect
> > the location of libapparmor.so?
> 
> I'd suggest ldconfig:
> 
> $ ldconfig -p | grep libapparmor\.so
>       libapparmor.so.1 (libc6,x86-64) => /usr/lib/libapparmor.so.1
> 
> Tyler



> -- 
> AppArmor mailing list
> [email protected]
> Modify settings or unsubscribe at: 
> https://lists.ubuntu.com/mailman/listinfo/apparmor

Attachment: signature.asc
Description: Digital signature

-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to