提示我系统没有libpoppler.so.3 这个库.不知算不算是bug
时间:2009-03-07
来源:互联网
昨天运行xelatex时出错.提示我系统没有libpoppler.so.3 这个库.不知算不算是bug. 我的处理过程如下,如果有哪位遇到类似的可以参考。
$ xelatex test.tex
***** XeLaTeX output:
***** cd '/home/cliffordli/tmp'
***** xelatex 'test.tex'
*****
This is XeTeXk, Version 3.1415926-2.2-0.999.6 (Web2C 7.5.7)
%&-line parsing enabled.
entering extended mode
(./test.tex
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, pinyin, ukenglish, loaded.
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size12.clo))
(/usr/share/texmf-dist/tex/xelatex/xltxtra/xltxtra.sty
(/usr/share/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/share/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texmf/tex/latex/config/graphics.cfg)
(/usr/share/texmf-dist/tex/xelatex/xetex-def/xetex.def)))
(/usr/share/texmf-dist/tex/xelatex/fontspec/fontspec.sty
(/usr/share/texmf-dist/tex/latex/tools/calc.sty)
(/usr/share/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/share/texmf-dist/tex/generic/xkeyval/xkeyval.tex))
(/usr/share/texmf-dist/tex/latex/base/fontenc.sty
(/usr/share/texmf-dist/tex/xelatex/euenc/eu1enc.def)
(/usr/share/texmf-dist/tex/xelatex/euenc/eu1lmr.fd))
fontspec.cfg loaded.
(/usr/share/texmf-dist/tex/xelatex/fontspec/fontspec.cfg))
(/usr/share/texmf-dist/tex/xelatex/xunicode/xunicode.sty)
(/usr/share/texmf-dist/tex/latex/etex-pkg/etex.sty)
(/usr/share/texmf-dist/tex/latex/base/fixltx2e.sty))
(/usr/share/texmf/tex/xetex/latex/xecjk/xeCJK.sty) (./test.aux)
<Symbol/lamp.eps> [1] (./test.aux)texlua: error while loading shared libraries: libpoppler.so.3: cannot open shared object file: No such file or directory
** WARNING ** Filtering file via command -->rungs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dUseFlateCompression=true -sOutputFile=/tmp/dvipdfmx.o1aV0k ./Symbol/lamp.eps -c quit<-- failed.
** WARNING ** Image format conversion for "./Symbol/lamp.eps" failed...
** ERROR ** pdf_ref_obj(): passed invalid object.
Output file removed.
)
Error 256 (driver return code) generating output;
file test.pdf may not be valid.
Transcript written on test.log.
用locate找了一下,/usr/lib/下面有一个类似的libpoppler.so.4, 想一下应是库升级了于是我这样处理了.
之后xelatex运行正常.
$ xelatex test.tex
***** XeLaTeX output:
***** cd '/home/cliffordli/tmp'
***** xelatex 'test.tex'
*****
This is XeTeXk, Version 3.1415926-2.2-0.999.6 (Web2C 7.5.7)
%&-line parsing enabled.
entering extended mode
(./test.tex
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, pinyin, ukenglish, loaded.
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size12.clo))
(/usr/share/texmf-dist/tex/xelatex/xltxtra/xltxtra.sty
(/usr/share/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/share/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texmf/tex/latex/config/graphics.cfg)
(/usr/share/texmf-dist/tex/xelatex/xetex-def/xetex.def)))
(/usr/share/texmf-dist/tex/xelatex/fontspec/fontspec.sty
(/usr/share/texmf-dist/tex/latex/tools/calc.sty)
(/usr/share/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/share/texmf-dist/tex/generic/xkeyval/xkeyval.tex))
(/usr/share/texmf-dist/tex/latex/base/fontenc.sty
(/usr/share/texmf-dist/tex/xelatex/euenc/eu1enc.def)
(/usr/share/texmf-dist/tex/xelatex/euenc/eu1lmr.fd))
fontspec.cfg loaded.
(/usr/share/texmf-dist/tex/xelatex/fontspec/fontspec.cfg))
(/usr/share/texmf-dist/tex/xelatex/xunicode/xunicode.sty)
(/usr/share/texmf-dist/tex/latex/etex-pkg/etex.sty)
(/usr/share/texmf-dist/tex/latex/base/fixltx2e.sty))
(/usr/share/texmf/tex/xetex/latex/xecjk/xeCJK.sty) (./test.aux)
<Symbol/lamp.eps> [1] (./test.aux)texlua: error while loading shared libraries: libpoppler.so.3: cannot open shared object file: No such file or directory
** WARNING ** Filtering file via command -->rungs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dUseFlateCompression=true -sOutputFile=/tmp/dvipdfmx.o1aV0k ./Symbol/lamp.eps -c quit<-- failed.
** WARNING ** Image format conversion for "./Symbol/lamp.eps" failed...
** ERROR ** pdf_ref_obj(): passed invalid object.
Output file removed.
)
Error 256 (driver return code) generating output;
file test.pdf may not be valid.
Transcript written on test.log.
用locate找了一下,/usr/lib/下面有一个类似的libpoppler.so.4, 想一下应是库升级了于是我这样处理了.
代码:
$ cd /usr/lib $ sudo ln -s libpoppler.so.4 libpoppler.so.3
作者: cliffordli 发布时间: 2009-03-07
revdep-rebuild
作者: oceanboo 发布时间: 2009-03-07
把自己的那个链接libpoppler.so.3删除. 然后revdep-rebuild 一下. 还真热闹. luatex, inkscape, kpdf全部一阵折腾后世界安静了.
我那个也算是临时急用的"曲线救国"吧.
我那个也算是临时急用的"曲线救国"吧.
作者: cliffordli 发布时间: 2009-03-07
呵呵,这是 poppler 升级的后遗症啊。还必须得 revdep-rebuild。如果用的是 portage-2.2 的话,升级后如果有库版本变化的话 portage 会通知用户,并可通过 emerge @preserved-rebuild 重新编译相关的包,比那个 revdep-rebuild 方便太多了。
作者: ProgramFan 发布时间: 2009-03-07
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28













