http://repository.maemo.org/extras/p.../libf/libffi4/ What happened when you double clicked on the link on this page?
When I clicked on the one that doesn't refer to a 386 or to dev, it installed just fine.