ceedee has asked for the wisdom of the Perl Monks concerning the following question:
I am using a module which loads a dynamic library to generate SWF output. I had managed to set this up and get it to work on a site I was using it on. I set up a blib like subdirectory in the cgi-bin I was using (I don't have root privileges) and use the BEGIN block to push that directory and the subdirectorys lib and arch into the @INC variable.
This worked,including the ability to load the SWF.so library from ~/cgi-bin/blib/arch/auto/SWF/ the site was merrily generating swf output and I walk away dusting my hands and think okay all is fine.
But today I look up the site and I get the message:
Horror of horrors Dynaloader CAN'T load the module!!!!!![Wed Apr 10 16:07:09 2002] SWF.pm: [Wed Apr 10 16:07:09 2002] DynaLoader.pm: Can't load '/home/zip/54/gal +482/cgi-bin/blib/arch//auto/SWF/SWF.so' for module SWF: /home/zip/54/ +gal482/cgi-bin/blib/arch//auto/SWF/SWF.so: undefined symbol: PL_sv_un +def at /usr/lib/perl5/5.004/i386-linux/DynaLoader.pm line 169. [Wed Apr 10 16:07:09 2002] SWF.pm: [Wed Apr 10 16:07:09 2002] DynaLoader.pm: [Wed Apr 10 16:07:09 2002] SWF.pm: [Wed Apr 10 16:07:09 2002] DynaLoader.pm: at 482.pl line 14 BEGIN fail +ed--compilation aborted at 482.pl line 14.
Hmmm....I would need some advice it seems,
what are the possible causes?
Chris
Edit by tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DynaLoader and PL_sv_undef...
by mpeppler (Vicar) on Apr 10, 2002 at 07:12 UTC | |
|
Re: DynaLoader and PL_sv_undef...
by MZSanford (Curate) on Apr 10, 2002 at 10:24 UTC | |
by ceedee (Sexton) on Apr 11, 2002 at 00:29 UTC |