[OS X TeX] dvisvgm and ghostscript
Doris Behrendt via MacOSX-TeX
macosx-tex at email.esm.psu.edu
Fri Oct 23 17:23:12 CEST 2020
Hi all,
I repeated the process (hoping that everything just is overwritten and not having to uninstall the ghostscript stuff).
This is the command I entered and the error I got:
dvisvgm --libgs=/usr/local/share/ghostscript/9.53.3/lib/libgs.dylib.9.53 --pdf ct-logo.pdf
ERROR: Ghostscript is required to process PDF files
This is the output of my terminal in the dir named lib:
(base) Doriss-Mac-mini:lib bd$ ls -l l*
-rw-r--r-- 1 root wheel 1468 Oct 7 01:37 landscap.ps
-rwxr-xr-x 1 root wheel 18259520 Oct 7 02:28 libgs.dylib.9.53
-rw-r--r-- 1 root wheel 3736 Oct 7 01:37 lines.ps
(base) Doriss-Mac-mini:lib bd$ pwd
/usr/local/share/ghostscript/9.53.3/lib
(base) Doriss-Mac-mini:lib bd$
The output of list at least shows that there is no symbolic link, but the file is there.
And I found ONE strange thing:
The name of the package I downloaded ends with >>…53.3<<, but the header line of the Installer window ends with >>...53.2-Full<<.
The typo .2 instead of .3 could occur also in other places, right?
Can this be connected to the reason for my problems?
Doris
> On 23. Oct 2020, at 00:45, koch at uoregon.edu wrote:
>
>> Most of those dylib files are actually symlinks. Is is it possible there’s a problem there? Maybe something went wrong during installation? This is what I have, but I installed ghostscript differently:
>>
>> albemuth:~/tmp> ls -l /opt/brw/Cellar/ghostscript/9.53.3/lib
>> total 26584
>> -r--r--r-- 1 ealdrov wheel 13610904 Oct 2 07:59 libgs.9.53.dylib
>> lrwxr-xr-x 1 ealdrov wheel 16 Oct 2 07:59 libgs.9.dylib@ -> libgs.9.53.dylib
>> lrwxr-xr-x 1 ealdrov wheel 16 Oct 2 07:59 libgs.dylib@ -> libgs.9.53.dylib
>>
>>
>> —Ettore
>
> Folks,
>
> When Ghostscript is compiled from source, the usual
>
> ./configure
> make
> sudo make install
>
> sequence does not create or install the ghostscript library. The library is created with a special command
>
> make so
>
> and three files are then placed in the folder sobin inside the source directory. Two are symbolic links,
>
> libgs.dylib
> libgs.dylib.9
>
> and one is an actual library,
>
> libgs.dylib.9.53
>
> Then there arises the issue of where these three files should be placed. For TeX Live this issue is not very important since only one binary, dvisvgm, uses the library.
>
> MacTeX very deliberately installs nothing in /usr/local/lib because I don'r want to interfere with libraries the user might install there from other places. The Ghostscript install
>
> sudo make install
>
> places the gs binary and many other scripts in /usr/local/bin, but installs everything else in
>
> /usr/local/share/ghostscript/9.53.3
>
> and this folder even contains a subfolder named lib. So that seemed to be a natural place to put the actual dynamic library.
>
> As for symbolic links, I decided to break my own rule and add three links to /usr/local/lib named
>
> libgs.dylib
> libgs.9.dylib
> libgs.9.53.dylib
>
> I am not wedded to this final piece of the puzzle. Indeed I'd much rather install nothing in /usr/local/lib. And the few people who actually use dvisvgm seem to use the flag and point to the actual location of the library.
>
> All of this does nothing to explain the problem Doris is having. ( Incidentally, I wonder what would happen if she installed our 9.50 package instead, since it also installs a library. After that test, 9.53.3 can be installed again and it will become active.)
>
> I'm just trying to warn us not to get involved with side issues. I hope it helps to know exactly what our package does.
>
> Dick Koch
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
> https://email.esm.psu.edu/pipermail/macosx-tex/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
More information about the macostex-archives
mailing list.