in reply to Embedding Perl Interpreter/DynaLoader

I have a similar problem in linking a bunch of routines in a dynamic .so. DynaLoader works for me if I link to ELF (or a.out) when I use the ExtUtils::Embed parameters. This is a great module that tells you how your Perl was compiled:

perl -MExtUtils::Embed -e ldopts -- DynaLoader

Use the output of the above command while linking and (hopefully), you'll be fine. You might also fix the problem by linking File::Glob directly:

perl -MExtUtils::Embed -e ldopts -- -std File::Glob

I hope one of these works for you. Good Luck!