LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 01-14-2008, 02:46 PM   #1
unkie888
Member
 
Registered: Aug 2007
Posts: 67

Rep: Reputation: 24
Question perl mapi/swig dynaloader problem


when i run a script it says;

Code:
[root]# ./fetchmail.pl
Can't load '/usr/lib/perl5/site_perl/5.8.8/mapi.so' for module mapi: /usr/lib/perl5/site_perl/5.8.8/mapi.so: undefined symbol: swig_types at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.
 at /usr/lib/perl5/site_perl/5.8.8/mapi.pm line 11
Compilation failed in require at ./fetchmail.pl line 15.
BEGIN failed--compilation aborted at ./fetchmail.pl line 15.
Then I do;

Code:
[root]# nm /usr/lib/perl5/site_perl/5.8.8/mapi.so | grep swig_types
         U swig_types

I think this means that perl cannot load mapi.so because swig_types is not defined in any .so library.

so i do;

Code:
for f in  `find / -name '*.so'`; do echo $f ; nm $f | grep swig_types ; done > x.x 2>y.y
then look in x.x for where swig_types is defined but there is nothing but mapi.so

How do I work out what library swig_types is defined in so that the perl script can work?
 
Old 01-16-2008, 06:56 PM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
You may also want to ask the Perl gurus at www.perlmonks.org
 
  


Reply

Tags
perl


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mapi Configuration in Linux muralikrishnan_vm Linux - Software 0 03-28-2007 03:07 AM
query regarding installing swig on Red hat Linux9 shweta12 Linux - Software 4 04-28-2005 12:44 AM
Swig sailu_mvn Programming 1 03-24-2005 09:20 AM
MAPI Server for Linux Be-List Linux - Software 1 08-30-2004 02:53 AM
swig not found on configure migraineboy Linux - Newbie 1 07-28-2003 07:48 PM


All times are GMT -5. The time now is 06:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration