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?