This gets rid of rpath in the build system.

--- a/config/BuildSystem/config/setCompilers.py
+++ b/config/BuildSystem/config/setCompilers.py
@@ -2548,11 +2548,7 @@
     return
 
   def checkSharedLinkerPaths(self):
-    '''Determine the shared linker path options
-       - IRIX: -rpath
-       - Linux, OSF: -Wl,-rpath,
-       - Solaris: -R
-       - FreeBSD: -Wl,-R,'''
+    '''Linker rpath setting turned off for Debian PETSc package.'''
     languages = ['C']
     if hasattr(self, 'CXX'):
       languages.append('Cxx')
@@ -2570,6 +2566,9 @@
       if Configure.isCygwin(self.log):
         self.logPrint('Cygwin detected! disabling -rpath test.')
         testFlags = []
+      elif True:
+        self.logPrint('Disabling -rpath test for debian builds.')
+        testFlags = []
       # test '-R' before '-rpath' as sun compilers [c,fortran] don't give proper errors with wrong options.
       elif not Configure.isDarwin(self.log):
         testFlags = ['-Wl,-rpath,', '-R','-rpath ' , '-Wl,-R,']
