From: Dermot <[EMAIL PROTECTED]>
> I am trying to copy an application from one server to another but have
> hit a problem.
> 
> I haven't completely honoured the file structure and I wonder if that
> why I am getting a error from DynaLoader. The error is
> 
> Can't load '/usr/local/lib/site_perl/MyApp2.so' for module MyApp2:
> /usr/local/lib/site_perl/MyApp2.so: undefined symbol: PL_sv_undef at
> ..DynaLoader.pm
> 
> Originally MyApp2.so was stored in /usr/local/lib/perl/5.6.6/auto
> 
> Is there something special about the 'auto' directory? I am guessing
> that the above error is really down to the binary and there is little
> that can be done about it without the source code. Does that sound
> right?

Yes there is something special. The loadable object (.so for unix, 
.dll for windows) for
  /.../perl/lib/MyApp2.pm
is looked up in
  /.../perl/lib/auto/MyApp2/MyApp2.so

In either case you'd better install the module properly and compile 
it for the exact processor, operating system and version of perl. 
It's quite possible that the .so you have was compiled for a 
different version of Perl and thus doesn't work with this one.

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to