Hello Daniel, I have upgraded to the newer library and have the access rights ( I am running as root and have followed steps stated in the installation manual). I am still facing the same issue . What am I doing wrongly ? I have simply compiled the code as cc -lvir xmlist.c -o xmlist Thanks . Dakshina --- Daniel Veillard <veillard@xxxxxxxxxx> wrote: > On Tue, Jan 31, 2006 at 08:40:47PM -0800, dasari > dakshina wrote: > > Resending my earlier query .. > > Hello, > > I have tried writing a simple program. > > I have compiled it with > > cc xmlist.c -L > > /usr/src/redhat/BUILD/libvir-0.0.1/src/.libs -lvir > -o > > xmlist > > But am getting an error on trying after the > > virConnectOpen call . > > First update to 0.0.2, there is just too many > fixes from 0.0.1 ! > Second make sure you have access rights see point > 3 of the installation FAQ > http://libvir.org/FAQ.html#Installati > > Daniel > > -- > Daniel Veillard | Red Hat http://redhat.com/ > veillard@xxxxxxxxxx | libxml GNOME XML XSLT toolkit > http://xmlsoft.org/ > http://veillard.com/ | Rpmfind RPM search engine > http://rpmfind.net/ > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com