in reply to Blending perl and C (two approaches)
use Inline C => Config => LIBS => '-L/your/lib/path -lyourlib'; [download]