ldconfig seemed to perform the magic. Everything is working right now, and also netbeans, when I run libvirtd beforehand. <br><br>Thanks for help.<br>Kind regards<br>Kadir<br><br><div class="gmail_quote">2011/3/15 Matthias Bolte <span dir="ltr"><<a href="mailto:matthias.bolte@googlemail.com">matthias.bolte@googlemail.com</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;">2011/3/15 kadir yüceer <<a href="mailto:kadiryuceer@gmail.com">kadiryuceer@gmail.com</a>>:<br>

<div class="im">><br>
><br>
> 2011/3/15 Berend Dekens <<a href="mailto:berend@cyberwizzard.nl">berend@cyberwizzard.nl</a>><br>
>><br>
>> 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>
><br>
> Well I downloaded libvirt-0.8.8.tar.gz and run ./configure; make; install<br>
> successfully. And I'm logged in as root(always). Is there something else<br>
> that I should do, except adding jna.jar and the jar file within<br>
> libvirt-java-0.4.7.tar.gz to the libraries section of my java project? I'm<br>
> trying to run the sample code test.java on <a href="http://libvirt.org/java.html" target="_blank">http://libvirt.org/java.html</a>.<br>
><br>
<br>
</div>Running just ./configure without any options should make it install<br>
under the /usr/local prefix. /usr/local/bin should be in PATH by<br>
default, that's why you can run virsh, but ld fails to find<br>
libvirt.so.<br>
<br>
Did you try to run ldconfig as root to update ld's cache? That might help.<br>
<font color="#888888"><br>
Matthias<br>
</font></blockquote></div><br>