Bug 160924 - SDK: typo in environment variables for linux
Summary: SDK: typo in environment variables for linux
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
24.2.3.2 release
Hardware: All All
: medium minor
Assignee: Julien Nabet
URL:
Whiteboard: target:24.8.0 target:24.2.4 target:7....
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-03 15:34 UTC by Luciano Amoruso
Modified: 2024-05-07 17:50 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
the typo (81.79 KB, image/png)
2024-05-03 15:34 UTC, Luciano Amoruso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luciano Amoruso 2024-05-03 15:34:29 UTC
Created attachment 193954 [details]
the typo

in section: "Manual Setting > Environment Variables for Unix-like systems > Linux > LD_LIBRARY_PATH" the suggested value is
```
$OO_SDK_URE_LIB_DIR: $SDK_HOME/linux/lib: $LD_LIBRARY_PATH
```
but guessing by previously set env vars, and by the values suggested in the sibling sections, it would seem `$SDK_HOME` should instead be `$OO_SDK_HOME`

---

the html dom path to the section is:
html > body > div#BgContainer > div#Container > div#Layout > div.typography > table.table1 > tbody > tr > td > table.table2 > tbody > tr > td > table.table3 > tbody > tr > td > table.table4 > tbody > tr > td.cell80
Comment 1 Buovjaga 2024-05-03 17:13:24 UTC
Source:
https://opengrok.libreoffice.org/xref/core/odk/docs/install.html?r=94da114c#462

I guess you are right as there is also the sentence:
"The script additionally creates symbolic links to the public dynamic libraries of the URE in <i>$OO_SDK_HOME/linux/lib</i>, which are needed for linking."
Comment 2 Julien Nabet 2024-05-04 08:19:31 UTC
Good catch!

Patch on gerrit here:
https://gerrit.libreoffice.org/c/core/+/167111
Comment 3 Commit Notification 2024-05-04 10:17:00 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/6aa2e8fe2b0b59e2fe20191decb9bd6202dabcc9

tdf#160924: SDK: typo SDK_HOME instead of OO_SDK_HOME for linux

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 4 Julien Nabet 2024-05-04 10:20:16 UTC
Patch on gerrit for 24.2 branch here:
https://gerrit.libreoffice.org/c/core/+/167073
Comment 5 Commit Notification 2024-05-05 06:54:45 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "libreoffice-24-2":

https://git.libreoffice.org/core/commit/ee9f7d31348e917eb8ba5b007a6679e01ecdb37f

tdf#160924: SDK: typo SDK_HOME instead of OO_SDK_HOME for linux

It will be available in 24.2.4.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 6 Commit Notification 2024-05-06 17:23:58 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "libreoffice-7-6-7":

https://git.libreoffice.org/core/commit/e128e0b21a1660c59897f22f71851f8a686e3c1d

tdf#160924: SDK: typo SDK_HOME instead of OO_SDK_HOME for linux

It will be available in 7.6.7.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 7 Commit Notification 2024-05-07 17:50:00 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "libreoffice-7-6":

https://git.libreoffice.org/core/commit/3a0801282a0aabc64a15f9afc3aedeac6226a979

tdf#160924: SDK: typo SDK_HOME instead of OO_SDK_HOME for linux

It will be available in 7.6.8.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.