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 <[email protected]> wrote: > On 2013-12-16 16:22:44, Jeroen Ooms wrote: > > On Mon, Dec 16, 2013 at 9:28 AM, Tyler Hicks <[email protected]> > 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 >
-- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
