[comp.lang.perl] undump problems...HELP!

stickler@rc.nokia.fi (Patrick Stickler RC 910) (11/22/90)

I'm having troubles with undumping my perl program. I'm running
on a Sun3 so (it seems) compatibility problems shouldn't exist.
Most of the code on this platform for both perl and undump seems
pretty solid. (BTW perl-3.0@37 and undump from the TeX82 dist.)

My program takes no arguments but reads in an init file which tells
it where to find everthing it needs, otherwise it is 'self-contained'.
I dump core with the perl command 'dump LABEL' and the LABEL: is just 
before reading in the init file and the first true execution commands, 
so all should be well there.

I am also able to make the new a.out executable with undump, i.e.:
 
    undump newprog perl core

The problem occurs when trying to run the new executable. I get the
error:
	
    ld.so: __DYNAMIC version 0 not supported

I've even tried recompiling perl with -DDEBUGGING in case it might
be needed when undumping, but to no avail.

I'm not a real hacker, so it probably is something very simple. I just
don't know if it is perl, undump, or something else. (my program works
fine normally, I just want it to be a standalone executable for 
efficiency sake - it initializes quite a bit of stuff at startup).

                         HELP!

If anyone has the answer(s), *please* speak up! (Don't wait for
someone 'else' to answer this if you know what might be going wrong.

Thanks.

///////////////////////////////////////////////////////////////////////
  Patrick Stickler   University of Helsinki   stickler@cc.Helsinki.FI
///////////////////////////////////////////////////////////////////////

Newsgroups: comp.lang.perl
Subject: undump problems...HELP!
Reply-To: stickler@rc.nokia.fi (Patrick Stickler RC 910)
Organization: Nokia Research Center, Finland

I'm having troubles with undumping my perl program. I'm running
on a Sun3 so (it seems) compatibility problems shouldn't exist.
Most of the code on this platform for both perl and undump seems
pretty solid. (BTW perl-3.0@37 and undump from the TeX82 dist.)

My program takes no arguments but reads in an init file which tells
it where to find everthing it needs, otherwise it is 'self-contained'.
I dump core with the perl command 'dump LABEL' and the LABEL: is just 
before reading in the init file and the first true execution commands, 
so all should be well there.

I am also able to make the new a.out executable with undump, i.e.:
 
    undump newprog perl core

The problem occurs when trying to run the new executable. I get the
error:
	
    ld.so: __DYNAMIC version 0 not supported

I've even tried recompiling perl with -DDEBUGGING in case it might
be needed when undumping, but to no avail.

I'm not a real hacker, so it probably is something very simple. I just
don't know if it is perl, undump, or something else. (my program works
fine normally, I just want it to be a standalone executable for 
efficiency sake - it initializes quite a bit of stuff at startup).

                         HELP!

If anyone has the answer(s), *please* speak up! (Don't wait for
someone 'else' to answer this if you know what might be going wrong.

Thanks.

///////////////////////////////////////////////////////////////////////
  Patrick Stickler   University of Helsinki   stickler@cc.Helsinki.FI
///////////////////////////////////////////////////////////////////////