in reply to Re^2: Extending perl with C dynamic library.
in thread Extending perl with C dynamic library.

How to slim it down ?

Try stripping the symbols from it:
strip -s your.so
Often, but not always, perl is built with a cflags setting that ensures that the shared object is automatically stripped.

Cheers,
Rob