diff -up ikiwiki/IkiWiki.pm.orig ikiwiki/IkiWiki.pm
--- ikiwiki/IkiWiki.pm.orig 2008-12-28 21:00:37.000000000 +0100
+++ ikiwiki/IkiWiki.pm 2009-01-02 12:16:43.000000000 +0100
@@ -547,7 +547,7 @@ sub loadplugin ($) {
return if grep { $_ eq $plugin} @{$config{disable_plugins}};
foreach my $dir (defined $config{libdir} ? possibly_foolish_untaint($config{libdir}) : undef,
- "$installdir/lib/ikiwiki") {
+ "$installdir/libexec/ikiwiki") {
if (defined $dir && -x "$dir/plugins/$plugin") {
eval { require IkiWiki::Plugin::external };
if ($@) {