Opened 6 years ago

Closed 5 years ago

#11255 closed defect (fixed)

mupdf-1.14.0 build issues

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

Description

The make ... install fails for me with the following:

     LINK build/release/libmupdf-third.so
 /usr/bin/ld: build/release/thirdparty/harfbuzz/src/hb-blob.o: in function `hb_blob_destroy':
 hb-blob.cc:(.text.hb_blob_destroy+0x89): undefined reference to `fz_hb_free'
 /usr/bin/ld: hb-blob.cc:(.text.hb_blob_destroy+0xa1): undefined reference to `fz_hb_free'
 /usr/bin/ld: hb-blob.cc:(.text.hb_blob_destroy+0xcc): undefined reference to `fz_hb_free'
 /usr/bin/ld: build/release/thirdparty/harfbuzz/src/hb-blob.o: in function `hb_blob_set_user_data':

This because the thirdparty stuff is built due to the USE_SYSTEM_LIBS=yes not be set. Either USE_SYSTEM_LIBS=yes should be set globally or re-issued again as part of the make install command. Secondly, I think that lcms should not be an external dependency as it is rebuilt anyway despite the USE_SYSTEM_LIBS=yes.

Change History (3)

comment:1 by ken@…, 5 years ago

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

Only just noticed this - I had thought about creating a ticket when I noticed this was broken, but deferred in the belief it might be something different in my build. For some reason I missed this existing ticket.

Agree totally.

comment:2 by ken@…, 5 years ago

It also needs ldconfig to be run, otherwise it can't find libmupdfthird.so at runtime.

comment:3 by ken@…, 5 years ago

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