Opened 5 years ago

Closed 5 years ago

#11195 closed enhancement (fixed)

openjpeg-2.3.0 : disable the static lib.

Reported by: ken@… Owned by: ken@…
Priority: normal Milestone: 8.4
Component: BOOK Version: SVN
Severity: normal Keywords:


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


  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


  but not all the files it references.

Rebuilding openjpeg2 with


solves this.

Change History (7)

comment:1 by ken@…, 5 years ago

Owner: changed from blfs-book to ken@…
Status: newassigned

comment:2 by ken@…, 5 years ago

Resolution: fixed
Status: assignedclosed

comment:3 by ken@…, 5 years ago

Resolution: fixed
Status: closedreopened

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 ken@…, 5 years ago

Status: reopenednew

comment:5 by ken@…, 5 years ago

Creating a sed looks as if it will need unpleasantly long lines. Going with the patch.

comment:6 by ken@…, 5 years ago

Hopefully, properly fixed in r20644.

comment:7 by ken@…, 5 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.