Opened 7 years ago
Closed 6 years ago
#11195 closed enhancement (fixed)
openjpeg-2.3.0 : disable the static lib.
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | 8.4 |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
Although the book claims that only a shared lib is installed, that is not true. My own scripts hide unexpected static libs at the end of each package. With poppler-0.68.0 cmake (piucking up the targets from openjpeg) thus fails:
CMake Error at /usr/lib/openjpeg-2.3/OpenJPEGTargets.cmake:90 (message): The imported target "openjp2_static" references the file "/usr/lib/libopenjp2.a" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib/openjpeg-2.3/OpenJPEGTargets.cmake" but not all the files it references.
Rebuilding openjpeg2 with
-DBUILD_STATIC_LIBS=OFF
solves this.
Change History (7)
comment:1 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 by , 6 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I overlooked that the cmake files are less than wonderful, and doing this they fail to install the library. Arch has a patch (copy on the -dev list), I guess we can use a sed - needs experimentation.
comment:4 by , 6 years ago
Status: | reopened → new |
---|
comment:5 by , 6 years ago
Creating a sed looks as if it will need unpleasantly long lines. Going with the patch.
comment:7 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
r20548.