Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-12118

Code snippet for CBL-Java support lib overrides system variables

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • Mobile
    • None

    Description

      In the documentation for Java support lib, the code snippet overrides LD_LIBRARY_PATH:

       

       

      export LD_LIBRARY_PATH=<lib-directory>/support/libC++:<lib-directory>/support/libicu:$LD_LIBRARY_PATH 

       

      Which causes (maybe amongst others), for apt to stop working on Debian/Ubuntu:

       

      apt: /opt/couchbase-lite/support/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /usr/lib/x86_64-linux-gnu/libapt-pkg.so.6.0)

       

      https://docs.couchbase.com/couchbase-lite/3.2/java/gs-prereqs.html#additional-steps-for-linux

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            elliot.hunter Elliot Hunter
            gilad.kalchheim Gilad Kalchheim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty