in reply to including perl dynamically into C

It's certainly feasible to create a .so file that has an embedded perl interpreter, and load that .so file into your executable if it is needed.

You need to read up on dlopen() (assuming that your system uses dlopen() for this - such as linux or solaris), and of course read the perlembed document.

You can find out what link options to use by running

perl -MExtUtils::Embed -e ldopts
Having said all that - is there any reason why you can't just link everything together?

Michael