<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 15/03/11 09:08, kadir yüceer wrote:<br>
<blockquote
cite="mid:AANLkTi=PiqnOf0chiqcaz48HrmE0spW2sFr=8do_9BSV@mail.gmail.com"
type="cite">
<div class="gmail_quote">2011/3/15 Berend Dekens <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:berend@cyberwizzard.nl">berend@cyberwizzard.nl</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
It looks to me like you don't have libvirt set up properly as
the ".so"<br>
file is a library which should be available in a system
default location.<br>
</blockquote>
<div><br>
Well I downloaded <a moz-do-not-send="true"
href="http://libvirt.org/sources/libvirt-0.8.8.tar.gz">libvirt-0.8.8.tar.gz</a>
and run ./configure; make; install successfully. And I'm
logged in as root(always). Is there something else that I
should do, except adding jna.jar and the jar file within <a
moz-do-not-send="true"
href="http://libvirt.org/sources/java/libvirt-java-0.4.7.tar.gz">libvirt-java-0.4.7.tar.gz</a>
to the libraries section of my java project? I'm trying to run
the sample code test.java on <a moz-do-not-send="true"
href="http://libvirt.org/java.html">http://libvirt.org/java.html</a>.</div>
</div>
</blockquote>
The fact that virsh throws the same error means you can leave the
Java bit for now and focus on virsh instead: as long as that does
not work, the Java bindings will not either.<br>
<br>
On a side note: you might want to use your distributions package
manage to install libvirt so all the files end up in the correct
paths. My guess is that you currently install files into the wrong
location.<br>
<br>
Regards,<br>
Berend Dekens<br>
</body>
</html>