Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6778662

fixes 64-bits libraries directory search paths on linux

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • hs15
    • 7
    • hotspot
    • None
    • b01
    • generic
    • generic

        Patch submitted by Lilian Angel from Red Hat.

        --- origopenjdk/hotspot/src/os/linux/vm/os_linux.cpp 2008-01-04 18:11:53.000000000 -0500
        +++ openjdk/hotspot/src/os/linux/vm/os_linux.cpp 2008-04-21 14:00:59.000000000 -0400
        @@ -265,7 +265,12 @@
          * ...
          * 7: The default directories, normally /lib and /usr/lib.
          */
        -#define DEFAULT_LIBPATH "/lib:/usr/lib"
        +
        +#if defined(AMD64) || defined(_LP64) && (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"

              kvn Vladimir Kozlov
              xdono Xiomara Jayasena (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: