On 9/20/19 5:04 PM, Tim Tassonis via blfs-dev wrote:
Hi all


When trying to upgrade mupdf to the latest release an checking the linked libraries, I stumbled across error due to missing

libmupdfthird.so
libmupdfthreads.so
libmupdfpkcs7.so


it turns out that mupdf-1.16.1-shared_libs-1.patch on  line 32 to 34 sets the names to:


+THIRD_LIB = $(OUT)/libmupdf-third.so
+THREAD_LIB = $(OUT)/libmupdf-threads.so
+PKCS7_LIB = $(OUT)/libmupdf-pkcs7.so

, while on line 38 to 44 it then links against:

+    $(LINK_CMD) -shared -Wl,-soname -Wl,libmupdf.so -Wl,--no-undefined $(THIRD_LIBS)
  $(THIRD_LIB) : $(THIRD_OBJ)
+    $(LINK_CMD) -shared -Wl,-soname -Wl,libmupdfthird.so -Wl,--no-undefined
  $(THREAD_LIB) : $(THREAD_OBJ)
+    $(LINK_CMD) -shared -Wl,-soname -Wl,libmuthreads.so -Wl,--no-undefined -lpthread
  $(PKCS7_LIB) : $(PKCS7_OBJ)
+    $(LINK_CMD) -shared -Wl,-soname -Wl,libmupkcs7.so



After I changed lines 32 to 34 to:

+THIRD_LIB = $(OUT)/libmupdfthird.so
+THREAD_LIB = $(OUT)/libmupdfthreads.so
+PKCS7_LIB = $(OUT)/libmupdfpkcs7.so


all was well. Can anybody  confirm this  bug?

Hmm.  I just rebuilt it and got:

$ ls -l /usr/lib/libmup*
-rw-r--r-- 1 root root 46790712 Sep 20 18:07 /usr/lib/libmupdf.so
lrwxrwxrwx 1 root root 17 Sep 19 21:59 /usr/lib/libmupdfthird.so -> libmupdf-third.so
-rw-r--r-- 1 root root    27376 Sep 20 18:07 /usr/lib/libmupdf-pkcs7.so
-rw-r--r-- 1 root root   741480 Sep 20 18:07 /usr/lib/libmupdf-third.so
-rw-r--r-- 1 root root    14296 Sep 20 18:07 /usr/lib/libmupdf-threads.so
lrwxrwxrwx 1 root root 17 Sep 19 21:59 /usr/lib/libmupkcs7.so -> libmupdf-pkcs7.so

It looks like the wrong patch got updated. I updated the patch on higgs. Please try the updated patch. It has the same filename.

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to