lg3d-core
  1. lg3d-core
  2. LG3D_CORE-647

LD_LIBRARY_PATH overwritten by setup script

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.1
    • Component/s: Runtime scripts
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      647

      Description

      The LD_LIBRARY_PATH environment variable is overwritten by setup script, which
      means I can't run my own development version of Java 3D with the latest lg3d.

      Suggested fix:

      ===================================================================
      RCS file: /cvs/lg3d-core/src/devscripts/setup,v
      retrieving revision 1.47
      diff -u -r1.47 setup
      — setup 21 Jun 2006 23:47:33 -0000 1.47
      +++ setup 22 Jun 2006 20:11:37 -0000
      @@ -142,6 +142,10 @@

      1. fi
        #fi

      +if [ $

      {LD_LIBRARY_PATH:-0} == 0 ]; then
      + export LD_LIBRARY_PATH=""
      +fi
      +
      if [ ${CONFIGDIR:-0} == 0 ]; then
      export CONFIGDIR=""
      fi
      @@ -172,14 +176,14 @@
      fi
      export
      CLASSPATH="${BUILDPLATFORM}/lib/lg3d-core.jar:${BUILDPLATFORM}/lib/lg3d-demo-apps.jar:${LGCOREEXTDIR}/j3d-contrib-utils.jar:${LGCOREEXTDIR}/escher-0.2.2.lg.jar:${LGCOREEXTDIR}/satin-v2.3.jar:${LGCOREEXTDIR}/app/bgmanager.jar:${CLASSPATH}"
      export BOOTCLASSPATH="${BUILDPLATFORM}/lib/lg3d-awt-toolkit.jar"
      - export LD_LIBRARY_PATH=${BUILDPLATFORM}/lib/${OS}-${ARCH}
      + export LD_LIBRARY_PATH=${BUILDPLATFORM}/lib/${OS}-${ARCH}:${LD_LIBRARY_PATH}

      else
      if [ $

      {LGX11HOME:-0}

      == 0 ]; then
      export LGX11HOME=$

      {LGDIR}/lib/${OS}-${ARCH}/lg3d-x11
      fi
      export
      CLASSPATH="${LGDIR}

      /lib/lg3d-core.jar:$

      {LGDIR}/lib/lg3d-demo-apps.jar:${LGCOREEXTDIR}/j3d-contrib-utils.jar:${LGCOREEXTDIR}/escher-0.2.2.lg.jar:${LGCOREEXTDIR}/satin-v2.3.jar:${LGCOREEXTDIR}/app/bgmanager.jar:${CLASSPATH}"
      export BOOTCLASSPATH="${LGDIR}

      /lib/lg3d-awt-toolkit.jar"

      • export LD_LIBRARY_PATH=$ {LGDIR}/lib/${OS}-${ARCH}
        + export LD_LIBRARY_PATH=${LGDIR}

        /lib/$

        {OS}

        -$

        {ARCH}

        :$

        {LD_LIBRARY_PATH}

        fi

      1. If cygwin convery classpath to correct format

        Activity

        Hide
        paulby added a comment -

        Fixed

        Show
        paulby added a comment - Fixed

          People

          • Assignee:
            paulby
            Reporter:
            kcr
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: