By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 3129 - kpilot: library path to libr omitted resulting in build failure
Summary: kpilot: library path to libr omitted resulting in build failure
Status: RESOLVED DUPLICATE of bug 3135
Alias: None
Product: TDE
Classification: Unclassified
Component: non-core programs (show other bugs)
Version: R14.0.x [Trinity]
Hardware: Other Linux
: P5 normal
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2020-06-08 23:57 CDT by aneejit1
Modified: 2020-06-15 09:50 CDT (History)
2 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
Patch for kpilot to include the libr library directory (4.96 KB, patch)
2020-06-08 23:57 CDT, aneejit1
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description aneejit1 2020-06-08 23:57:18 CDT
Created attachment 2972 [details]
Patch for kpilot to include the libr library directory

My build environment is as follows:

- Trinity is installed to /opt/trinity
- TQt3 is installed to /opt/trinity/i686-pc-linux-gnu and /opt/trinity/x86_64-unknown-linux-gnu

The two copies of TQt3 are required to allow both 64-bit and 32-bit binaries to be generated as experience has shown me that this is the simplest and most reliable way to do this is rather than trying to overlay both versions.

When tdelibs is built using libr a dependency is created in later projects for that library which those projects do pick up on. There are, however, many instances where the library path to libr has not been specified in the "link_directories" statement and therefore the build fails because the library file cannot be located. The path specified in "TQT_LIBRARY_DIRS" does not resolve libr's location in this instance and so the build fails.

The patch attached is to rectify this problem. The ConfigureChecks.cmake file is amended to perform a non-mandatory check for the libr library on the system to allow LIBR_LIBRARY_DIRS to be set, if it is found. The CMakeLists.txt changes are to include the LIBR_LIBRARY_DIRS variable in the "link_directories" statement.

This issue was found to occur in the 14.0.8 release. The patch has been applied to a cloned copy of the repository version and has built successfully.
Comment 1 aneejit1 2020-06-15 09:50:40 CDT
To be resolved by making libr a private link in tdelibs (see bugs 3133 and 3135).

*** This bug has been marked as a duplicate of bug 3135 ***