I know that there are similar questions (here and here) but non of the answers worked for me.
When running pdf2swf sample.pdf -v -o sample.swf
i get Segmentation fault:
...
VERBOSE colorMap pixcomps:3 bits:8 mode:2
NOTICE File contains jpeg pictures
VERBOSE Drawing 1496x1808 transparent jpeg-image (id 151) at size 1496x1808 (548x663), >256 colors
Segmentation fault
The "-O 1" flag didn't work, dmesg wasn't helpful:
pdf2swf[29304]: segfault at 0000000000000000 rip 00002ac82a6c75b0 rsp 00007fff623484b0 error 4
pdf2swf[32714]: segfault at 0000000000000000 rip 00002b7f2e0145b0 rsp 00007fff68ea90c0 error 4
I have a similar servers with swftools working fine and processing the same file successfully. I've tried installing both version 0.9.1 as i have on my other server as well as installing the newest version available with no help.
I've installed with the following commands:
LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/usr/local/include" ./configure
make
make install
Anyone knows what might help?