<div dir="ltr">ESL.pm isn&#39;t installed in one of the standard @INC directories, so perl has no idea where to find the module<div><br></div><div>You can either add /usr/src/freeswitch/libs/esl/perl to @INC, or install it to a standard path:</div>

<div>$ cd /usr/src/freeswitch/libs/esl<br></div><div>$ make perlmod-install</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 3 January 2014 15:30, ankitdoshi <span dir="ltr">&lt;<a href="mailto:ankit_doshi2011@yahoo.com" target="_blank">ankit_doshi2011@yahoo.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello friends,<br>
<br>
in my script i am try to load ESL.pm file from specific directory and its<br>
showing me below error. which is locate here<br>
*&quot;/usr/src/freeswitch/libs/esl/perl/ESL.pm&quot;*<br>
<br>
Code :<br>
 #!/usr/bin/perl<br>
use lib &#39;/usr/src/freeswitch/libs/esl/perl/&#39;;<br>
use ESL;<br>
my $c= new ESL::ESLconnection(&quot;$localhost&quot;, &quot;$port&quot;, &quot;$password&quot;);<br>
my $e = $c-&gt;sendRecv(&quot;api originate<br>
{ignore_early_media=true,origination_caller_id_number=1234}sofia/gateway/mygateway/1234&quot;);<br>
<br>
cmd :<br>
perl <a href="http://call.pl" target="_blank">call.pl</a><br>
<br>
Error :<br>
<br>
Can&#39;t locate loadable object for module ESL in @INC (@INC contains:<br>
/usr/src/freeswitch/libs/esl/perl/ /etc/perl /usr/local/lib/perl/5.14.2<br>
/usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5<br>
/usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at<br>
/usr/src/freeswitch/libs/esl/perl//ESL.pm line 11.<br>
Compilation failed in require at <a href="http://call.pl" target="_blank">call.pl</a> line 3.<br>
BEGIN failed--compilation aborted at <a href="http://call.pl" target="_blank">call.pl</a> line 3.<br>
<br>
Give me some ideas to solve this problem.<br>
<br>
Thanks in advance<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/Can-t-locate-loadable-object-for-module-ESL-error-tp7596037.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/Can-t-locate-loadable-object-for-module-ESL-error-tp7596037.html</a><br>


Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>
</blockquote></div><br></div>