convert
从命令行运行以将少量 JPG 文件合并为 PDF 时出现段错误:
$ convert ./file_*.jpg p.pdf
Segmentation fault
在那里,你看到了吗?为了尝试追踪发生了什么,我在调试器下运行它,得到以下结果:
(gdb) run ./file_*.jpg p.pdf
Starting program: /usr/local/bin/convert ./file_*.jpg p.pdf
warning: .dynamic section for "/usr/lib/libfreetype.so.6" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libpng12.so.0" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libfontconfig.so.1" is not at the expected address
谁能告诉我这是什么意思?看起来好像有一个库不兼容,但我不确定我能做些什么或能做些什么。
抱歉,如果我的标签有误 - 如果您能想到更合适的标签,请随时更改。我从源代码配置并制作了转换应用程序,所以我想我并没有真正期待这一点。