Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1384

test-cppunit overrides LD_LIBRARY_PATH and fails if gcc is in non-standard location

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.2
    • 3.4.4, 3.5.0
    • build, tests
    • None
    • Linux

    • Reviewed

    Description

      On Linux with gcc installed in /usr/local and the libs in /usr/local/lib64, test-core-cppunit fails because zktest-st is unable to find the right libstdc++.

      build.xml is overriding the environment LD_LIBRARY_PATH instead of appending to it. This should be changed to match the treatment of PATH by appending the desired extra path.

      Attachments

        1. ZOOKEEPER-1384.patch
          1 kB
          Jay Shrauner

        Activity

          People

            shrauner Jay Shrauner
            shrauner Jay Shrauner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: