<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
        LINE-HEIGHT: 1.5; FONT-FAMILY: 宋 COLOR: #000000; FONT-SIZE: 10.5pt; 20307: 
}
P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>

<META name=GENERATOR content="MSHTML 8.00.6001.19298"></HEAD>
<BODY style="MARGIN: 10px">
<DIV>hi jones!</DIV>
<DIV> </DIV>
<DIV style="TEXT-INDENT: 2em">i run a java testcase in my new 
environment(V1.19.35 that was installed by "make install"),</DIV>
<DIV style="TEXT-INDENT: 2em">"System.loadLibrary ("guestfs_jni")" leads to 
:</DIV>
<BLOCKQUOTE style="TEXT-INDENT: 2em; MARGIN-RIGHT: 0px" dir=ltr>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">Exception in thread "main" java.lang.UnsatisfiedLinkError: no libguestfs_jni in java.library.path</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860)</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">at java.lang.Runtime.loadLibrary0(Runtime.java:845)</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">at java.lang.System.loadLibrary(System.java:1084)</SPAN></DIV></BLOCKQUOTE>
<DIV style="TEXT-INDENT: 2em" dir=ltr> but 
"find /usr/local/lib -name '*guestfs_jni*' " returns: </DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr>
  <DIV style="TEXT-INDENT: 2em" dir=ltr>
  <DIV>/<SPAN 
  style="BACKGROUND-COLOR: #ccffcc">usr/local/lib/libguestfs_jni.so.1.19.35</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">/usr/local/lib/libguestfs_jni.so</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">/usr/local/lib/libguestfs_jni.la</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">/usr/local/lib/libguestfs_jni.so.1</SPAN></DIV></DIV></BLOCKQUOTE>
<DIV dir=ltr><SPAN style="BACKGROUND-COLOR: #ccffcc"></SPAN> </DIV>
<DIV style="TEXT-INDENT: 2em">and i tried to add "<SPAN 
style="BACKGROUND-COLOR: #ccffcc">/usr/local/lib/</SPAN>" into <FONT 
size=2><FONT color=#cc0000>LD_LIBRARY_PATH, </FONT><FONT color=#000000>but 
it had no effect.</FONT></FONT></DIV>
<DIV style="TEXT-INDENT: 2em"><FONT size=2>could you tell me the 
reason?</FONT></DIV>
<DIV> </DIV>
<DIV>Thanks!</DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>

<DIV><SPAN>ÖÜÌÎ</SPAN></DIV><p>---------------------------------------------------------------------------------------------------<br>
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) <br>
is intended only for the use of the intended recipient and may be confidential and/or privileged of <br>
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is <br>
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying <br>
is strictly prohibited, and may be unlawful.If you have received this communication in error,please <br>
immediately notify the sender by return e-mail, and delete the original message and all copies from <br>
your system. Thank you. <br>
---------------------------------------------------------------------------------------------------</p></BODY></HTML>