<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi Everyone,</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I have a fedora-20 machine on which i have installed lxc version-1.0.3 by</div>
<div style="font-family:arial,sans-serif;font-size:13px">enabling yum to install packages from Rawhide repository using the following steps</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
<div># yum install fedora-release-rawhide yum-utils</div><div># yum-config-manager --disable fedora updates updates-testing</div><div># yum-config-manager --enable rawhide</div><div># yum update yum</div><div># yum --releasever=rawhide distro-sync --nogpgcheck</div>
</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">My uname -a give the following output:3.14.5-200.fc20.x86_64 #1 SMP Mon Jun 2 14:26:34 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I can see "/usr/lib64/liblxc.so.1.0.3" in my system.</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Now i want to create and do basic operation on lxc using the pais provided.</div><div style="font-family:arial,sans-serif;font-size:13px">
I have a sample code that creates a container does that but it does not compile , instead it throws the following error.:</div><div style="font-family:arial,sans-serif;font-size:13px"><div>lxc_test.c:(.text+0x1a): undefined reference to `lxc_container_new'</div>
<div>lxc_test.c:(.text+0x254): undefined reference to `lxc_container_put'.</div></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">What am i doing wrong??</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I am a newbee , so please dont mind my ignorance :)</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">Thanks</div><div style="font-family:arial,sans-serif;font-size:13px">Vinish</div></div>