--- common/platform/unix/SysLibrary.cpp.orig	2010-05-02 14:16:05.000000000 -0500
+++ common/platform/unix/SysLibrary.cpp	2010-11-21 00:44:13.000000000 -0600
@@ -88,10 +88,10 @@
     sprintf(nameBuffer, "lib%s%s", name, ORX_SHARED_LIBRARY_EXT);
     // try loading directly
     libraryHandle = dlopen(nameBuffer, RTLD_LAZY);
-    // if not found, then try from /usr/lib
+    // if not found, then try from @PREFIX@/lib/ooRexx
     if (libraryHandle == NULL)
     {
-        sprintf(nameBuffer, "/usr/lib/lib%s%s", name, ORX_SHARED_LIBRARY_EXT);
+        sprintf(nameBuffer, "@PREFIX@/lib/ooRexx/lib%s%s", name, ORX_SHARED_LIBRARY_EXT);
         libraryHandle = dlopen(nameBuffer, RTLD_LAZY);
         // still can't find it?
         if (libraryHandle == NULL)
