-   Linux - Software (
-   -   perl mapi/swig dynaloader problem (

unkie888 01-14-2008 02:46 PM

perl mapi/swig dynaloader problem
when i run a script it says;


[root]# ./
Can't load '/usr/lib/perl5/site_perl/5.8.8/' for module mapi: /usr/lib/perl5/site_perl/5.8.8/ undefined symbol: swig_types at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/ line 230.
 at /usr/lib/perl5/site_perl/5.8.8/ line 11
Compilation failed in require at ./ line 15.
BEGIN failed--compilation aborted at ./ line 15.

Then I do;


[root]# nm /usr/lib/perl5/site_perl/5.8.8/ | grep swig_types
        U swig_types

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

so i do;


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

How do I work out what library swig_types is defined in so that the perl script can work?

chrism01 01-16-2008 06:56 PM

You may also want to ask the Perl gurus at

All times are GMT -5. The time now is 04:03 PM.