[Freeswitch-users] Can't locate loadable object for module ESL error

ankitdoshi ankit_doshi2011 at yahoo.com
Fri Jan 3 18:30:07 MSK 2014


Hello friends,

in my script i am try to load ESL.pm file from specific directory and its
showing me below error. which is locate here
*"/usr/src/freeswitch/libs/esl/perl/ESL.pm"*

Code :
 #!/usr/bin/perl
use lib '/usr/src/freeswitch/libs/esl/perl/';
use ESL;
my $c= new ESL::ESLconnection("$localhost", "$port", "$password");
my $e = $c->sendRecv("api originate
{ignore_early_media=true,origination_caller_id_number=1234}sofia/gateway/mygateway/1234");

cmd : 
perl call.pl

Error :

Can't locate loadable object for module ESL in @INC (@INC contains:
/usr/src/freeswitch/libs/esl/perl/ /etc/perl /usr/local/lib/perl/5.14.2
/usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at
/usr/src/freeswitch/libs/esl/perl//ESL.pm line 11.
Compilation failed in require at call.pl line 3.
BEGIN failed--compilation aborted at call.pl line 3.

Give me some ideas to solve this problem.

Thanks in advance



--
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Can-t-locate-loadable-object-for-module-ESL-error-tp7596037.html
Sent from the freeswitch-users mailing list archive at Nabble.com.



Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list