I'm getting this error using 12.04. When I run
sudo lxc-execute -n foo -f lxc.example.conf ls, I get
/usr/lib/lxc/lxc-init: error while loading shared libraries: libapparmor.so.1: cannot open shared object file: No such file or directory
Any idea how to resolve this? I've installed libapparmor-dev and still no luck.