On 9/21/19 12:44 AM, Ken Moffat via blfs-dev wrote:
On Sat, Sep 21, 2019 at 12:04:53AM +0200, 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?
Bye
Tim
Hi Tim,
NOT confirmed. AFAICS this version went in before the 9.0 release.
I've just built 9.0 on this new machine this week, and it built
without problems, and works.
Thanks, I think my problem was the missing
/sbin/ldconfig
that probably creates those links.
I got a link error after my changes and then ran it, but I did not run
it before the changes.
ken@deluxe ~ $ldd /usr/bin/mupdf
linux-vdso.so.1 (0x00007fff880e5000)
libmupdf.so => /usr/lib/libmupdf.so (0x00007f39d040c000)
libmupdfthird.so => /usr/lib/libmupdfthird.so (0x00007f39d0325000)
libmupkcs7.so => /usr/lib/libmupkcs7.so (0x00007f39d031c000)
[snip non-mupdf libs]
libmuthreads.so => /usr/lib/libmuthreads.so (0x00007f39cf86c000)
From my install log:
/usr/lib/libmupdf-pkcs7.so
/usr/lib/libmupdf-third.so
/usr/lib/libmupdf-threads.so
/usr/lib/libmupdf.so
/usr/lib/libmupdfthird.so
/usr/lib/libmupkcs7.so
/usr/lib/libmuthreads.so
It seems we have symlinks -
ken@deluxe ~ $ls -l /usr/lib/libmu*
-rw-r--r-- 1 root root 31480 Sep 18 15:00 /usr/lib/libmupdf-pkcs7.so
-rw-r--r-- 1 root root 47192504 Sep 18 15:00 /usr/lib/libmupdf.so
-rw-r--r-- 1 root root 938152 Sep 18 15:00 /usr/lib/libmupdf-third.so
lrwxrwxrwx 1 root root 17 Sep 18 15:00 /usr/lib/libmupdfthird.so ->
libmupdf-third.so
-rw-r--r-- 1 root root 14296 Sep 18 15:00 /usr/lib/libmupdf-threads.so
lrwxrwxrwx 1 root root 17 Sep 18 15:00 /usr/lib/libmupkcs7.so ->
libmupdf-pkcs7.so
lrwxrwxrwx 1 root root 19 Sep 18 15:00 /usr/lib/libmuthreads.so ->
libmupdf-threads.so
ĸen
Sorry for the noise.
Bye
Tim
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page