[apparmor] Finding libapparmor.so on Debian

Jeroen Ooms jeroen.ooms at stat.ucla.edu
Tue Dec 17 20:07:04 UTC 2013


Okay thank you. So here is what I ended up with:

https://github.com/jeroenooms/RAppArmor/blob/master/configure

This seems to work across all versions of Debian, Ubuntu and Suse that I
have tested. I'd like to find a solution that does not depend on grep, but
this will do for now.


On Mon, Dec 16, 2013 at 4:49 PM, Tyler Hicks <tyhicks at canonical.com> wrote:

> On 2013-12-16 16:22:44, Jeroen Ooms wrote:
> > On Mon, Dec 16, 2013 at 9:28 AM, Tyler Hicks <tyhicks at canonical.com>
> wrote:
> >
> > > I'd suggest ldconfig:
> > >
> > > $ ldconfig -p | grep libapparmor\.so
> > >         libapparmor.so.1 (libc6,x86-64) => /usr/lib/libapparmor.so.1
> > >
> > >
> > Is it safe to assume that ldconfig is available on any debian/ubuntu/suse
> > system? I.e. does it ship with the minimal setup?
>
> Yes, that's a safe assumption to make.
>
> Tyler
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20131217/7e600f3a/attachment.html>


More information about the AppArmor mailing list