LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 01:46 PM   #1
unkie888
Member
 
Registered: Aug 2007
Posts: 67

Rep: Reputation: 26
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, 05:56 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

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


Reply

Tags
perl



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 02:07 AM
query regarding installing swig on Red hat Linux9 shweta12 Linux - Software 4 04-27-2005 11:44 PM
Swig sailu_mvn Programming 1 03-24-2005 08:20 AM
MAPI Server for Linux Be-List Linux - Software 1 08-30-2004 01:53 AM
swig not found on configure migraineboy Linux - Newbie 1 07-28-2003 06:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:23 PM.

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
Open Source Consulting | Domain Registration