Works for me:
root@sauce:~# cat > testme.c << EOF
> #include <stdio.h>
>
> int main() { printf("hello, world\n"); }
> EOF
root@sauce:~# gcc -o testme testme.c -lvirt-lxc
/usr/bin/ld: cannot find -lvirt-lxc
collect2: error: ld returned 1 exit status
root@sauce:~# apt-get update
root@sauce:~# apt-get -y install libvirt-dev
root@sauce:~# dpkg -l | grep libvirt-dev
ii libvirt-dev 1.1.1-0ubuntu8.9 amd64
development files for the libvirt library
root@sauce:~# cat > testme.c << EOF
> #include <stdio.h>
>
> int main() { printf("hello, world\n"); }
> EOF
root@sauce:~# gcc -o testme testme.c -lvirt-lxc
root@sauce:~# ./testme
hello, world
** Tags removed: verification-needed
** Tags added: verification-done
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1287232
Title:
/usr/lib/libvirt-lxc.so missing from libvirt-dev
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1287232/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs