--- ./DynaLoader.pm-pre	Fri Oct 10 20:13:20 2003
+++ ./DynaLoader.pm	Fri Oct 10 20:13:06 2003
@@ -145,6 +145,9 @@ sub bootstrap {
 	"  dynamic loading or has the $module module statically linked into it.)\n")
 	unless defined(&dl_load_file);
 
+    # Can dynaload, but cannot dynaload Perl modules...
+    die 'Dynaloaded Perl modules are not available in this build of Perl' if $OS2::is_aout;
+
     my @modparts = split(/::/,$module);
     my $modfname = $modparts[-1];
 
--- ./XSLoader.pm-pre	Sat Sep 13 12:07:16 2003
+++ ./XSLoader.pm	Fri Oct 10 20:12:54 2003
@@ -28,6 +28,8 @@ sub load {
     my $b = "$module\::bootstrap";
     goto &$b if defined &$b;
 
+    # Can dynaload, but cannot dynaload Perl modules...
+    die 'Dynaloaded Perl modules are not available in this build of Perl' if $OS2::is_aout;
     goto retry unless $module and defined &dl_load_file;
 
     my @modparts = split(/::/,$module);
