in reply to DBI cross compile
I am not sure how much this may meet your needs, but DBI::PurePerl exists. I have not seen a pure perl implementation of a DBD for sqlite.
This would be slower, but it might relieve issues with compiling.
In Section
Seekers of Perl Wisdom