--- a/hotspot/src/os/linux/vm/os_linux.cpp Thu Jan 08 16:27:28 2009 -0500
+++ b/hotspot/src/os/linux/vm/os_linux.cpp Fri Jan 09 14:39:07 2009 -0500
@@ -279,7 +279,11 @@
* ...
* 7: The default directories, normally /lib and /usr/lib.
*/
+#if defined(AMD64) || defined(_LP64) && (defined(SPARC) || defined(PPC) || defined(S390))
+#define DEFAULT_LIBPATH "/usr/lib64:/lib64:/lib:/usr/lib"
+#else
#define DEFAULT_LIBPATH "/lib:/usr/lib"
+#endif
#define EXTENSIONS_DIR "/lib/ext"
#define ENDORSED_DIR "/lib/endorsed"