I found this same issue on my machine. <br>If you could compile a esl_wrap.o then you have to generate a libesl.so with a cmd like this:<br>g++ -shared esl_wrap.o -o libesl.so<br>Then in your code, do something like this:<br>
/* Test.java */<br>import org.freeswitch.esl.*;<br><br>class Test<br>{<br>  public static void main(String[] args)<br>  {<br>    System.loadLibrary(&quot;esl&quot;);<br>    System.out.println(&quot;hello&quot;);<br>  }<br>
}<br><br><br><br><div class="gmail_quote">On Thu, Jul 30, 2009 at 10:31 PM, Jean-Marc Hyppolite <span dir="ltr">&lt;<a href="mailto:hyppolite72@yahoo.com">hyppolite72@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
Thank you Anthony.<br><br>--- On <b>Thu, 7/30/09, Anthony Minessale <i>&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;</i></b> wrote:<br>
<blockquote style="border-left: 2px solid rgb(16, 16, 255); padding-left: 5px; margin-left: 5px;"><br>From: Anthony Minessale &lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;<br>
Subject: Re: [Freeswitch-users] JAVA ESL<br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>Received: Thursday, July 30, 2009, 9:00 PM<div><div></div>
<div class="h5"><br><br>
<div>it might be a build issue, I was not exactly sure how to build it etc.<br>so it may need some help from a java expert<br><br>I wrote all of that with swig and never was able to test it.<br><br><br>
<div class="gmail_quote">On Thu, Jul 30, 2009 at 7:40 PM, Jean-Marc Hyppolite <span dir="ltr">&lt;<a href="http://ca.mc356.mail.yahoo.com/mc/compose?to=hyppolite72@yahoo.com" rel="nofollow" target="_blank">hyppolite72@yahoo.com</a>&gt;</span> wrote:<br>

<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="font-family: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
<div>Hello,</div>
<div> </div>
<div>I built libesl and JAVA mod. (make and make javamod). But when I try to run a JAVA script with the following code</div>
<div> </div>
<div>ESLconnection connection = new ESLconnection(&quot;127.0.0.1&quot;, &quot;9000&quot;, &quot;&quot;);</div>
<div>ESLevent events = connection.getInfo();</div>
<div>System.out.println(events.toString());</div>
<div> </div>
<div>I get the following error message:</div>
<div> </div>
<div>Exception in thread &quot;main&quot; java.lang.UnsatisfiedLinkError: /usr/lib/libesl.so: /usr/lib/libesl.so: undefined symbol: __gxx_personality_v0<br>        at java.lang.ClassLoader$NativeLibrary.load(Native Method)<br>
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)<br>        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)<br>        at java.lang.Runtime.loadLibrary0(Runtime.java:823)<br>        at java.lang.System.loadLibrary(System.java:1030)<br>
        at ivr.IVRServer.&lt;clinit&gt;(IVRServer.java:18)<br></div>
<div> </div>
<div>Any help would be appreciated.</div>
<div> </div>
<div>Thanks.</div>
<div> </div></td></tr></tbody></table>
<div><br>
<hr size="1">
The new Internet Explorer® 8 - Faster, safer, easier. Optimized for Yahoo! <a href="http://downloads.yahoo.com/ca/internetexplorer/" rel="nofollow" target="_blank"><b>Get it Now for Free!</b></a></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br><a href="http://ca.mc356.mail.yahoo.com/mc/compose?to=FreeSWITCH-users@lists.freeswitch.org" rel="nofollow" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="nofollow" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="nofollow" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org/" rel="nofollow" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" rel="nofollow" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" rel="nofollow" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" rel="nofollow" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="http://ca.mc356.mail.yahoo.com/mc/compose?to=MSN%3Aanthony_minessale@hotmail.com" rel="nofollow" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="http://ca.mc356.mail.yahoo.com/mc/compose?to=PAYPAL%3Aanthony.minessale@gmail.com" rel="nofollow" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>IRC: <a href="http://irc.freenode.net/" rel="nofollow" target="_blank">irc.freenode.net</a> #freeswitch<br>
<br>FreeSWITCH Developer Conference<br><a href="http://ca.mc356.mail.yahoo.com/mc/compose?to=sip%3A888@conference.freeswitch.org" rel="nofollow" target="_blank">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888" rel="nofollow" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="http://ca.mc356.mail.yahoo.com/mc/compose?to=googletalk%3Aconf%2B888@conference.freeswitch.org" rel="nofollow" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br></div><br></div>
</div>-----Inline Attachment Follows-----<div class="im"><br><br>
<div>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="http://ca.mc356.mail.yahoo.com/mc/compose?to=FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br></div></div></blockquote></td></tr></tbody></table><div class="hm"><br>
      <p> </p>

  <table><tbody><tr>

    <td style="padding: 0.75pt;">

    <div style="text-align: center;" align="center"><font size="3" face="Times New Roman"><span style="font-size: 12pt;">

    <hr size="1" width="100%" align="center">

    </span></font></div>

 

      <p><font size="3" face="Times New Roman"><span style="font-size: 12pt;"><img width="25" align="absbottom" border="0" height="25" hspace="4"><a href="http://ca.toolbar.yahoo.com/" target="_blank"><b><span style="font-weight: bold;" lang="NO-BOK">Yahoo! 
        Canada Toolbar :</span></b><span lang="NO-BOK"> Search from anywhere on 
        the web and bookmark your favourite sites. Download it now! </span></a> 
        </span></font><span lang="NO-BOK"></span></p></td></tr></tbody></table></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Fernando Gregianin Testa<br>Voice Technology Ltda<br>+55 11 35882166<br><br>