https://issues.apache.org/ooo/show_bug.cgi?id=122483

            Bug ID: 122483
        Issue Type: DEFECT
           Summary: unoapploader sets wrong LD_LIBRARY_PATH
           Product: App Dev
           Version: AOO400-dev
          Hardware: All
                OS: Linux
            Status: CONFIRMED
          Keywords: regression
          Severity: normal
          Priority: P3
         Component: sdk
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Build the SimpleBootstrap example from the SDK
Try to run it from a ternimal where the SDK environment is not set

./SimpleBootstrap_cpp 
./_SimpleBootstrap_cpp: error while loading shared libraries:
libuno_cppuhelpergcc3.so.3: cannot open shared object file: No such file or
directory

unoapploader is using unoinfo to set the LD_LIBRARY_PATH environment variable

unoinfo prints info pre 3 layer removal:

case $1 in
c++)
    printf '%s' "$sd_prog/../basis-link/ure-link/lib"

unoapploader is putting this environment variable pointing to a 3-layer OO:

198             putenv( envstr );
(gdb) print envstr
$25 = 0x6040f0
"LD_LIBRARY_PATH=/opt/openoffice4/program/../basis-link/ure-link/lib"


Maybe unoinfo can be removed, as finding soffice path is enough now.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to