Bug 15897 - dvisvgm not correctly opening ghostscript library
Summary: dvisvgm not correctly opening ghostscript library
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-10 00:12 CEST by Giuseppe Ghibò
Modified: 2015-05-10 21:30 CEST (History)
1 user (show)

See Also:
Source RPM: texlive-20130530-19.mga5.src.rpm
CVE:
Status comment:


Attachments

Description Giuseppe Ghibò 2015-05-10 00:12:47 CEST
Description of problem:

dvisvgm (used also by moodle) of the texlive package is not able to process EPS file due to misopening of ghostscript library.


How reproducible:

dvisvgm -E mio.eps -o mio.svg

gives ERROR.

this because it tries to dlopen() the library libgs.so, while there is only libgs.so.9. This patch should fix.

diff -up texlive-20130530-source/texk/dvisvgm/dvisvgm-1.2.2/src/Ghostscript.cpp.ghost texlive-20130530-source/
texk/dvisvgm/dvisvgm-1.2.2/src/Ghostscript.cpp
--- texlive-20130530-source/texk/dvisvgm/dvisvgm-1.2.2/src/Ghostscript.cpp.ghost        2013-01-30 14:10:27.00
0000000 +0100
+++ texlive-20130530-source/texk/dvisvgm/dvisvgm-1.2.2/src/Ghostscript.cpp      2015-05-09 00:26:28.998619843 
+0200
@@ -39,7 +39,7 @@ using namespace std;
 #elif defined(__WIN32__)
        #define GS_DL_NAME "gsdll32.dll"
 #else
-       #define GS_DL_NAME "libgs.so"
+       #define GS_DL_NAME "libgs.so.9"
 #endif


Reproducible: 

Steps to Reproduce:
Comment 1 David Walser 2015-05-10 21:30:26 CEST
Fixed in texlive-20130530-20.mga5.  Thanks Giuseppe!

Status: NEW => RESOLVED
CC: (none) => luigiwalser
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.